Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
- 2
In previous specifications of HTML, only one <h1> element was typically present on a page, used for the heading of the entire page. HTML5 specifies that <h1>represents the top-level heading of a “section”, whether that be the page <body>, or an <article> or <section>element. In fact, every <header>element should at least contain an <h1>element. If there is no natural heading for the section, it is a good indication it should not use an <article> or <section> tag.
1st Aug 2016, 5:59 AM
Saurav S Shekhar
Saurav S Shekhar - avatar