{"id":145,"date":"2019-07-04T03:02:05","date_gmt":"2019-07-04T03:02:05","guid":{"rendered":"https:\/\/wpproonline.com\/?p=145"},"modified":"2026-02-26T10:50:21","modified_gmt":"2026-02-26T10:50:21","slug":"html-5-chapter-3-headings","status":"publish","type":"post","link":"https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/","title":{"rendered":"HTML 5 Notes For Professional \u2013 Chapter \u2013 3 (Headings)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">HTML provides not only plain paragraph tags but six separate header tags to indicate headings of various sizes and thicknesses. Enumerated as heading 1 through heading 6, heading 1 has the largest and thickest text while heading 6 is the smallest and thinnest, down to the paragraph level. This topic details the proper usage of these tags.<\/p>\n\n<p><!--more--><\/p>\n\n<h2 class=\"wp-block-heading\">Using Headings<\/h2>\n\n<p class=\"wp-block-paragraph\">Headings can be used to describe the topic they precede and they are defined with the <strong><em>&lt;h1&gt;<\/em><\/strong> to <strong><em>&lt;h6&gt;<\/em><\/strong> tags. Headings support all global attributes.<\/p>\n\n<ol class=\"wp-block-list\">\n<li><strong><em>&lt;h1&gt;<\/em><\/strong> defines the most important heading.<\/li>\n<li><strong><em>&lt;-h6&gt; <\/em><\/strong>defines the least important heading.<\/li>\n<\/ol>\n\n<h2 class=\"wp-block-heading\">Defining a heading:<\/h2>\n\n<pre><code>&lt;h1&gt;Heading 1&lt;\/h1&gt;\n&lt;h2&gt;Heading 2&lt;\/h2&gt;\n&lt;h3&gt;Heading 3&lt;\/h3&gt;\n&lt;h4&gt;Heading 4&lt;\/h4&gt;\n&lt;h5&gt;Heading 5&lt;\/h5&gt;\n&lt;h6&gt;Heading 6&lt;\/h6&gt;<\/code><\/pre>\n\n<h4 class=\"wp-block-heading\">Correct structure matters<\/h4>\n\n<p class=\"wp-block-paragraph\"><strong>Search engines<\/strong> and other <strong>user agents<\/strong> usually index page content based on heading elements, for example, to create a table of contents, so using the correct structure for headings is important.<\/p>\n\n<p class=\"wp-block-paragraph\">In general, an article should have one h1 element for the main title followed by h2 subtitles \u2013 going down a layer if necessary. If there are h1 elements on a higher level they shouldn&#8217;t be used to describe any lower level content.<\/p>\n\n<p class=\"wp-block-paragraph\"><strong>Example document (extra intendation to illustrate hierarchy):<\/strong><\/p>\n\n<pre><code>&lt;h1&gt;Main title&lt;\/h1&gt;\n&lt;p&gt;Introduction&lt;\/p&gt;\n   &lt;h2&gt;Reasons&lt;\/h2&gt;\n      &lt;h3&gt;Reason 1&lt;\/h3&gt;\n      &lt;p&gt;Paragraph&lt;\/p&gt;\n      &lt;h3&gt;Reason 2&lt;\/h3&gt;\n      &lt;p&gt;Paragraph&lt;\/p&gt;\n   &lt;h2&gt;In conclusion&lt;\/h2&gt;\n   &lt;p&gt;Paragraph&lt;\/p&gt;<\/code><\/pre>\n\n<p class=\"wp-block-paragraph\"><strong><a href=\"https:\/\/digitalhubz.com\/html-5-chapter-4-paragraphs\/\">Continue to Chapter 4: Paragraphs<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>HTML provides not only plain paragraph tags but six separate header tags to indicate headings of various sizes and thicknesses. Enumerated as heading 1 through heading 6, heading 1 has&hellip;<\/p>\n","protected":false},"author":1,"featured_media":148,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[76,111],"tags":[109,110,112,114,113],"class_list":["post-145","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-html","category-html-5-notes-for-professional","tag-html","tag-html-5-notes","tag-html-5-tutorial","tag-html-headings","tag-html5"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>HTML 5 Notes For Professional \u2013 Chapter \u2013 3 (Headings) - DigitalHubZ<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HTML 5 Notes For Professional \u2013 Chapter \u2013 3 (Headings)\" \/>\n<meta property=\"og:description\" content=\"HTML provides not only plain paragraph tags but six separate header tags to indicate headings of various sizes and thicknesses. Enumerated as heading 1 through heading 6, heading 1 has&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/\" \/>\n<meta property=\"og:site_name\" content=\"DigitalHubZ\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-04T03:02:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T10:50:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.digitalhubz.com\/blog\/wp-content\/uploads\/2019\/07\/html5-chapter-3.png\" \/>\n\t<meta property=\"og:image:width\" content=\"945\" \/>\n\t<meta property=\"og:image:height\" content=\"394\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"DigitalHubZ\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DigitalHubZ\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/html-5-chapter-3-headings\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/html-5-chapter-3-headings\\\/\"},\"author\":{\"name\":\"DigitalHubZ\",\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/#\\\/schema\\\/person\\\/5a4074d837d6e5d22d665e5b7ca9e873\"},\"headline\":\"HTML 5 Notes For Professional \u2013 Chapter \u2013 3 (Headings)\",\"datePublished\":\"2019-07-04T03:02:05+00:00\",\"dateModified\":\"2026-02-26T10:50:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/html-5-chapter-3-headings\\\/\"},\"wordCount\":197,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/html-5-chapter-3-headings\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/html5-chapter-3.png\",\"keywords\":[\"HTML\",\"HTML 5 Notes\",\"HTML 5 Tutorial\",\"HTML Headings\",\"HTML5\"],\"articleSection\":[\"HTML\",\"HTML 5 Notes For Professional\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/html-5-chapter-3-headings\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/html-5-chapter-3-headings\\\/\",\"url\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/html-5-chapter-3-headings\\\/\",\"name\":\"HTML 5 Notes For Professional \u2013 Chapter \u2013 3 (Headings) - DigitalHubZ\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/html-5-chapter-3-headings\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/html-5-chapter-3-headings\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/html5-chapter-3.png\",\"datePublished\":\"2019-07-04T03:02:05+00:00\",\"dateModified\":\"2026-02-26T10:50:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/html-5-chapter-3-headings\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/html-5-chapter-3-headings\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/html-5-chapter-3-headings\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/html5-chapter-3.png\",\"contentUrl\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/html5-chapter-3.png\",\"width\":945,\"height\":394},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/html-5-chapter-3-headings\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTML 5 Notes For Professional \u2013 Chapter \u2013 3 (Headings)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/\",\"name\":\"DigitalHubZ\",\"description\":\"Future-Ready Digital Solutions\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/#organization\",\"name\":\"DigitalHubZ\",\"url\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/digitalhubz.webp\",\"contentUrl\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/digitalhubz.webp\",\"width\":1232,\"height\":369,\"caption\":\"DigitalHubZ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/#\\\/schema\\\/person\\\/5a4074d837d6e5d22d665e5b7ca9e873\",\"name\":\"DigitalHubZ\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/414c5bb85907e15e0f840541718ecc7420d52ea432b33f6a57761a674a52ebb7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/414c5bb85907e15e0f840541718ecc7420d52ea432b33f6a57761a674a52ebb7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/414c5bb85907e15e0f840541718ecc7420d52ea432b33f6a57761a674a52ebb7?s=96&d=mm&r=g\",\"caption\":\"DigitalHubZ\"},\"sameAs\":[\"https:\\\/\\\/digitalhubz.com\"],\"url\":\"https:\\\/\\\/www.digitalhubz.com\\\/blog\\\/author\\\/digi_v1_wp\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"HTML 5 Notes For Professional \u2013 Chapter \u2013 3 (Headings) - DigitalHubZ","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/","og_locale":"en_US","og_type":"article","og_title":"HTML 5 Notes For Professional \u2013 Chapter \u2013 3 (Headings)","og_description":"HTML provides not only plain paragraph tags but six separate header tags to indicate headings of various sizes and thicknesses. Enumerated as heading 1 through heading 6, heading 1 has&hellip;","og_url":"https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/","og_site_name":"DigitalHubZ","article_published_time":"2019-07-04T03:02:05+00:00","article_modified_time":"2026-02-26T10:50:21+00:00","og_image":[{"width":945,"height":394,"url":"https:\/\/www.digitalhubz.com\/blog\/wp-content\/uploads\/2019\/07\/html5-chapter-3.png","type":"image\/png"}],"author":"DigitalHubZ","twitter_card":"summary_large_image","twitter_misc":{"Written by":"DigitalHubZ","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/#article","isPartOf":{"@id":"https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/"},"author":{"name":"DigitalHubZ","@id":"https:\/\/www.digitalhubz.com\/blog\/#\/schema\/person\/5a4074d837d6e5d22d665e5b7ca9e873"},"headline":"HTML 5 Notes For Professional \u2013 Chapter \u2013 3 (Headings)","datePublished":"2019-07-04T03:02:05+00:00","dateModified":"2026-02-26T10:50:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/"},"wordCount":197,"commentCount":3,"publisher":{"@id":"https:\/\/www.digitalhubz.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/#primaryimage"},"thumbnailUrl":"https:\/\/www.digitalhubz.com\/blog\/wp-content\/uploads\/2019\/07\/html5-chapter-3.png","keywords":["HTML","HTML 5 Notes","HTML 5 Tutorial","HTML Headings","HTML5"],"articleSection":["HTML","HTML 5 Notes For Professional"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/","url":"https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/","name":"HTML 5 Notes For Professional \u2013 Chapter \u2013 3 (Headings) - DigitalHubZ","isPartOf":{"@id":"https:\/\/www.digitalhubz.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/#primaryimage"},"image":{"@id":"https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/#primaryimage"},"thumbnailUrl":"https:\/\/www.digitalhubz.com\/blog\/wp-content\/uploads\/2019\/07\/html5-chapter-3.png","datePublished":"2019-07-04T03:02:05+00:00","dateModified":"2026-02-26T10:50:21+00:00","breadcrumb":{"@id":"https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/#primaryimage","url":"https:\/\/www.digitalhubz.com\/blog\/wp-content\/uploads\/2019\/07\/html5-chapter-3.png","contentUrl":"https:\/\/www.digitalhubz.com\/blog\/wp-content\/uploads\/2019\/07\/html5-chapter-3.png","width":945,"height":394},{"@type":"BreadcrumbList","@id":"https:\/\/www.digitalhubz.com\/blog\/html-5-chapter-3-headings\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.digitalhubz.com\/blog\/"},{"@type":"ListItem","position":2,"name":"HTML 5 Notes For Professional \u2013 Chapter \u2013 3 (Headings)"}]},{"@type":"WebSite","@id":"https:\/\/www.digitalhubz.com\/blog\/#website","url":"https:\/\/www.digitalhubz.com\/blog\/","name":"DigitalHubZ","description":"Future-Ready Digital Solutions","publisher":{"@id":"https:\/\/www.digitalhubz.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.digitalhubz.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.digitalhubz.com\/blog\/#organization","name":"DigitalHubZ","url":"https:\/\/www.digitalhubz.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.digitalhubz.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.digitalhubz.com\/blog\/wp-content\/uploads\/2023\/03\/digitalhubz.webp","contentUrl":"https:\/\/www.digitalhubz.com\/blog\/wp-content\/uploads\/2023\/03\/digitalhubz.webp","width":1232,"height":369,"caption":"DigitalHubZ"},"image":{"@id":"https:\/\/www.digitalhubz.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.digitalhubz.com\/blog\/#\/schema\/person\/5a4074d837d6e5d22d665e5b7ca9e873","name":"DigitalHubZ","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/414c5bb85907e15e0f840541718ecc7420d52ea432b33f6a57761a674a52ebb7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/414c5bb85907e15e0f840541718ecc7420d52ea432b33f6a57761a674a52ebb7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/414c5bb85907e15e0f840541718ecc7420d52ea432b33f6a57761a674a52ebb7?s=96&d=mm&r=g","caption":"DigitalHubZ"},"sameAs":["https:\/\/digitalhubz.com"],"url":"https:\/\/www.digitalhubz.com\/blog\/author\/digi_v1_wp\/"}]}},"_links":{"self":[{"href":"https:\/\/www.digitalhubz.com\/blog\/wp-json\/wp\/v2\/posts\/145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.digitalhubz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.digitalhubz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.digitalhubz.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digitalhubz.com\/blog\/wp-json\/wp\/v2\/comments?post=145"}],"version-history":[{"count":4,"href":"https:\/\/www.digitalhubz.com\/blog\/wp-json\/wp\/v2\/posts\/145\/revisions"}],"predecessor-version":[{"id":54913,"href":"https:\/\/www.digitalhubz.com\/blog\/wp-json\/wp\/v2\/posts\/145\/revisions\/54913"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.digitalhubz.com\/blog\/wp-json\/wp\/v2\/media\/148"}],"wp:attachment":[{"href":"https:\/\/www.digitalhubz.com\/blog\/wp-json\/wp\/v2\/media?parent=145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.digitalhubz.com\/blog\/wp-json\/wp\/v2\/categories?post=145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.digitalhubz.com\/blog\/wp-json\/wp\/v2\/tags?post=145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}