June 18, 2019 02:22 pm GMT
Original Link: https://css-tricks.com/how-to-section-your-html/
How to Section Your HTML
The sectioning elements in HTML5 are <nav>
, <aside>
, <article>
, and <section>
. <body>
is also kind of a sectioning element since all content lying inside of it is part of the default document section.
Here is a brief explanation of each sectioning element and how they are used:
<nav>
- Equivalent torole="navigation"
. Major site navigation that consistently appears frequently across the site. Examples include the primary navigation, secondary navigation, and in-page navigation.<aside>
-
The post How to Section Your HTML appeared first on CSS-Tricks.
Original Link: https://css-tricks.com/how-to-section-your-html/
Share this article:
Tweet
View Full Article