E-mail List Archives
Re: Header levels
From: Swift, Daniel P.
Date: Aug 3, 2016 8:55AM
- Next message: Joseph Sherman: "Re: Interaction with tab panels"
- Previous message: Joseph Sherman: "Re: Header levels"
- Next message in Thread: Steve Faulkner: "Re: Header levels"
- Previous message in Thread: Joseph Sherman: "Re: Header levels"
- View all messages in this Thread
You're mistaken -- H1 can appear multiple times on a page provided that you are using the html5 doctype and you are using sectioning content (article, aside, nav, section).
For instance, if you have an H1 at the top of the page, you cannot include another H1 in a child div ... ... you can have an additional H1 inside an aside that is within the same containing element as the H1.
As code:
<div>
<h1>header</h1>
<aside>
<h1>header</h1>
</aside>
</div>
Joseph -- You must always go in order ... you cannot start with an h3 for example.
-Dan
- Next message: Joseph Sherman: "Re: Interaction with tab panels"
- Previous message: Joseph Sherman: "Re: Header levels"
- Next message in Thread: Steve Faulkner: "Re: Header levels"
- Previous message in Thread: Joseph Sherman: "Re: Header levels"
- View all messages in this Thread