HTML Header Tag

An HTML Header Tag is a group of introductory content or navigation links. It contains on most important heading tags, <h1> to <h6>, logo, navigation links, and author information etc.

A <header> element may place within the <body> element. You refrain to put it in a <footer>, <address> or <header> element. It is also referred as <header> element.

HTML Header Tag

 

Syntax:

Example of HTML Header Tag:

Attributes supported:

Three types of attributes can add to header tag,

  • Global Attributes
  • Event Handler Content Attributes
  • Element Attributes

HTML Header Tag CSS Default Setting:

Header element has the following default CSS value.

 

Leave a Reply

Your email address will not be published. Required fields are marked *