{"id":1365,"date":"2020-01-21T13:12:23","date_gmt":"2020-01-21T21:12:23","guid":{"rendered":"https:\/\/www.hmc.edu\/communications\/?page_id=1365"},"modified":"2025-05-16T08:01:25","modified_gmt":"2025-05-16T15:01:25","slug":"headings","status":"publish","type":"page","link":"https:\/\/www.hmc.edu\/communications\/wordpress-how-tos\/headings\/","title":{"rendered":"WordPress: Headings"},"content":{"rendered":"\n<p>Headings are the main organizational tool of a web page and allow you to organize a page\u2019s content into sections and sub-sections.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Adding a Heading Block<\/h2>\n\n\n\n<p>In the content area either:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>with the cursor in the editor, type forward slash <kbd>\/<\/kbd>; or<\/li>\n\n\n\n<li>select the plus button<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full img-border is-style-aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"604\" height=\"140\" src=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2025\/05\/headings-1.png\" alt=\"\" class=\"wp-image-2367\" srcset=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2025\/05\/headings-1.png 604w, https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2025\/05\/headings-1-300x70.png 300w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/figure>\n\n\n\n<p>3. Start typing &#8220;heading&#8221; and select the heading block from the list<\/p>\n\n\n\n<figure class=\"wp-block-image size-full img-border\"><img loading=\"lazy\" decoding=\"async\" width=\"288\" height=\"408\" src=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2025\/05\/headings-2.png\" alt=\"\" class=\"wp-image-2370\" srcset=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2025\/05\/headings-2.png 288w, https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2025\/05\/headings-2-212x300.png 212w\" sizes=\"auto, (max-width: 288px) 100vw, 288px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full img-border\"><img loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"392\" src=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2025\/05\/headings-3.png\" alt=\"\" class=\"wp-image-2371\" srcset=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2025\/05\/headings-3.png 606w, https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2025\/05\/headings-3-300x194.png 300w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><\/figure>\n\n\n\n<p>Now that you have inserted the heading block, you may add your text and set the heading level.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full img-border\"><img loading=\"lazy\" decoding=\"async\" width=\"313\" height=\"202\" src=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2025\/05\/headings-4.png\" alt=\"\" class=\"wp-image-2374\" srcset=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2025\/05\/headings-4.png 313w, https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2025\/05\/headings-4-300x194.png 300w\" sizes=\"auto, (max-width: 313px) 100vw, 313px\" \/><figcaption class=\"wp-element-caption\">The heading block is now in place for your heading&#8217;s text.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Choosing a Heading Level<\/h2>\n\n\n\n<p>Headings are hierarchical and have different \u201clevels\u201d that can be set when they are inserted into pages. The HTML heading levels are known as <code>H1<\/code>, <code>H2<\/code>, <code>H3<\/code>, <code>H4<\/code>, <code>H5<\/code> and <code>H6<\/code>. Note that <code>H5<\/code> and <code>H6<\/code> are not routinely used on the College website and are not available to you as an editor.<\/p>\n\n\n\n<p>The page title is <code>H1<\/code>. There is only one <code>H1<\/code> on a page, therefore editors cannot insert additional <code>H1<\/code>s.<\/p>\n\n\n\n<p class=\"is-style-mudd-highlighted-content\">The level of heading that you should use is determined by the content, not personal preference.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Setting the Heading Level<\/h3>\n\n\n\n<p>When your cursor is in the heading block, the heading level can be changed by selecting the <code>H2<\/code> icon in the toolbar (note it will be <code>H3<\/code> or <code>H4<\/code> if that level has previously been chosen).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full img-border\"><img loading=\"lazy\" decoding=\"async\" width=\"355\" height=\"288\" src=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2025\/05\/headings-5.png\" alt=\"\" class=\"wp-image-2375\" srcset=\"https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2025\/05\/headings-5.png 355w, https:\/\/www.hmc.edu\/communications\/wp-content\/uploads\/sites\/19\/2025\/05\/headings-5-300x243.png 300w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The first level of heading within the content area&nbsp;<strong>must<\/strong>&nbsp;be <code>H2<\/code>. Break content into logical sections, each with an appropriate <code>H2<\/code>.<\/li>\n\n\n\n<li><code>H3<\/code> is used to subdivide content that is related to the <code>H2<\/code> above it.<\/li>\n\n\n\n<li><code>H4<\/code> can be used to subdivide content that&nbsp;is related to the <code>H3<\/code> above it.<\/li>\n<\/ul>\n\n\n\n<p class=\"is-style-mudd-highlighted-content\">Why is the first level <code>H2<\/code>? Because the page title is <code>H1<\/code>. As headings must be used hierarchically, the first heading level used anywhere within a page is&nbsp;<strong>always<\/strong>&nbsp;<code>H2<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Heading Levels That May Follow Other Heading Levels<\/h3>\n\n\n\n<p>You make your own determination of the level of subsequent headings based on the content itself and how it relates to surrounding content, adhering to these rules:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>H2<\/code> may be followed only by <code>H2<\/code> or <code>H3<\/code>.<\/li>\n\n\n\n<li><code>H3<\/code> may be followed by <code>H2<\/code> or <code>H3<\/code> or <code>H4<\/code>.<\/li>\n\n\n\n<li><code>H4<\/code> may be followed by <code>H2<\/code>, <code>H3<\/code> or <code>H4<\/code>.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Content After Headings<\/h3>\n\n\n\n<p>There must be content after a heading (e.g. text, image, list, other content block).<\/p>\n\n\n\n<p>Headings may also be followed immediately by another heading (without intervening content) that is the next level down in the hierarchy. e.g.:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>H2<\/code>&nbsp;<em>may<\/em>&nbsp;be immediately followed by <code>H3<\/code><\/li>\n\n\n\n<li><code>H3<\/code>&nbsp;<em>may<\/em>&nbsp;be immediately followed by <code>H4<\/code><\/li>\n<\/ul>\n\n\n\n<p>However:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>H4<\/code> must&nbsp;<em>not<\/em>&nbsp;immediately be followed by another <code>H4<\/code> (without intervening content) <\/li>\n\n\n\n<li><code>H2<\/code> must&nbsp;<em>not<\/em>&nbsp;immediately be followed by another <code>H2<\/code> (without intervening content)<\/li>\n\n\n\n<li><code>H3<\/code> must&nbsp;<em>not<\/em>&nbsp;immediately be followed by another <code>H3<\/code> (without intervening content)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Headings are the main organizational tool of a web page and allow you to organize a page\u2019s content into sections [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":995,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-1365","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/pages\/1365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/comments?post=1365"}],"version-history":[{"count":5,"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/pages\/1365\/revisions"}],"predecessor-version":[{"id":2380,"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/pages\/1365\/revisions\/2380"}],"up":[{"embeddable":true,"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/pages\/995"}],"wp:attachment":[{"href":"https:\/\/www.hmc.edu\/communications\/wp-json\/wp\/v2\/media?parent=1365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}