<header> tag in HTML5
The <header> tag use to contains information related to the heading, title, and a set of navigational links of the related content.
Important Definition
- The <header> tag is new in HTML5.
- The <header> tag can not be placed within a <footer>, <address> OR another <header> element.
- Open and close tag required in <header>.
Example of <header> tag
<header> Tag Browser Support
Element |
Chrome |
Edge |
Firefox |
Safari |
Opera |
<header> |
Yes |
Yes |
Yes |
Yes |
Yes |
Version |
6.0 |
9.0 |
4.0 |
5.0 |
11.1 |
Global Attributes
Event Attributes