HTML <header> Tag

The header tag is an HTML element that defines a header in an HTML page, typically including a logo, search form, and introductory information.

The <header> element is a container for introductory material or a collection of navigational links.

A <header> element often comprises the following components: one or more heading elements (<h1><h6>), a logo or icon, and authorship information.

It's worth noting that you can have many <header> elements in a single HTML page. <header>, on the other hand, cannot be inserted within a <footer>, an <address>, or another <header> element.




Supported Browsers

Element Chrome Firefox Safari Edge / IE Opera
<header> 5.0 4.0 5.0 9.0 11.1