Html5 Section Header
The header can also be used inside other semantic elements such as article or section.
Html5 section header. The html header element represents introductory content typically a group of introductory or navigational aids. A header element typically contains. It is used to define a header section for the element that contains it.
As a page header. A section header might contain the section s heading author name etc. The header element is one of several new semantic document tags introduced with html5.
One or more heading elements h1 h6. It can be used as a header for a whole page the most common usage but can also be used as the header for an article or any other piece of on page content. The html5 header element is typically the first element after the beginning of the body element in an html5 web page.
Definition and usage the header element represents a container for introductory content or a set of navigational links. Is also kind of a sectioning element. Elements such as header footer and article are all considered semantic because they accurately describe the purpose of the element and the type of content that is inside them.
The sectioning elements in html5 are nav aside article and section. A footer element is placed at the end of an html5 page. Article section aside and nav can have their own header.
Defines a footer for a document or section header specifies a header for a document or section main specifies the main content of a document mark defines marked highlighted text nav defines navigation links section defines a section in a document summary defines a visible heading for a details element time defines a date time. Html header element header defines a page area that typically contains a logo title and navigation. It holds end of page stuff like navigation bars which should be enclosed in html5 nav tags within the header.