Header HTML CSS Tag Element

<Header> HTML CSS Tag Element Tutorials

Definition and Usage

The <header> element represents a container for introductory content or a set of navigational links.

A <header> element typically contains:

one or more heading elements (<h1> - <h6>)

logo or icon

authorship information


A header for an <article>:

    <h1>A heading here</h1>
    <p>Posted by John Doe</p>
    <p>Some additional information here</p>
  <p>Lorem Ipsum dolor set amet....</p>


A page header:

  <h1>Main page heading here</h1>
  <p>Posted by Jim</p>

Default CSS Settings
Most browsers will display the <header> element with the following default values:

header {
  display: block;

Try Now

Comments :

Post a Comment