Page 141 - HTML5
P. 141
Notes:
Developers should use the article element when it makes sense to syndicate the
contents of the element.
Click here to read the official HTML5 Specification for the <main> element
Header Element
The <header> element represents introductory content for its nearest ancestor sectioning content
or sectioning root element. A <header> typically contains a group of introductory or
navigational aids.
Note: The header element is not sectioning content; it doesn’t introduce a new
section.
Examples:
<header>
<p>Welcome to...</p>
<h1>Voidwars!</h1>
</header>
In this example, the <article> has a <header>.
<article>
<header>
<h1>Flexbox: The definitive guide</h1>
</header>
<p>The guide about Flexbox was supposed to be here, but it turned out Wes wasn’t a Flexbox
expert either.</p>
</article>
W3C Proposed Recommendation
Footer Element
The <footer> element contains the footer part of the page.
Here is an example for <footer> element that contain p paragraph tag.
<footer>
<p>All rights reserved</p>
</footer>
Read Sectioning Elements online: https://riptutorial.com/html/topic/311/sectioning-elements
https://riptutorial.com/ 125

