More about HTML | Header & Footer

Heading, Header, and Footer Tags


  • HTML headings are titles or subtitles that we want to display on a webpage.
  • HTML headings are defined with the <h1> to <h6> tags.
  • <h1> defines the most important heading. <h6> defines the least important heading.

The following example shows how to add Headings to a web page.

HTML Headers


The <header> element acts as 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
  • We can add a Header to our web page using the <header> element as shown below in the following example.

HTML Footers


The <footer> element defines a footer for a document or section.

 A <footer> element typically contains:

  • authorship information
  • copyright information
  • contact information
  • sitemap
  • back to top links
  • related documents
  • We can add a Footer to our website using the <footer> element as shown below.



Post a Comment

Previous Post Next Post