HTML <header> Tag

The above example demonstrates usage of the <header> element.

The <header> element represents introductory content for its section. It is typically used for providing introductory or navigational aids.

The above example shows the <header> element representing the header of the whole document, however, it can also be used as the header for any section within a document. For example, it could be used as the header for the <article> or the <aside> elements.

Example -