Article introduction of Wulin.com (www.vevb.com): The header element is a structural element with guidance and navigation functions. It is usually used to prevent the title of a content block in the entire page or a content block within the page, but it can also contain other content, such as data tables, search forms or related logo images.
The header element is a structural element with guidance and navigation functions. It is usually used to prevent the title of a content block in the entire page or a content block within the page, but it can also contain other content, such as data tables, search forms or related logo images.
The titles in the entire page are generally placed at the beginning of the page. There is no limit on the number of header elements in a web page. You can have multiple ones. You can add a header element to each content block.
Examples of multiple header elements:
<header> <h1>Web page title</h1></header><article> <header><h1>Article title</h1> </header> <p>Article text</p></article>In HTML5, a header element usually includes at least one headering element (h1-h6), may also include hgroup elements, nav elements, and may also include other elements (tableforms).
Example of header element in blog page
<header> <hgroup><h1>Web page title</h1><p>Web page description…</p> </hgroup> <nav><ul><li>…</li><li>… </li></ul> </nav></header>