Can an HTML page have two <header>'s?
I have to recreate the page shown in the img for a school assignment. If i already used 1 <header> at the top of the page, can i use a second <header> in <main> for the iphone section?
2 Replies
You can have one header per section content. These include
article
, section
, aside
, and nav
:
Elements belonging to the sectioning content model create a section in the current outline that defines the scope ofOf course, the body can also have a header.<header>
elements,<footer>
elements, and heading content.
Sweet thank you