Headings Tag

Headings

Heading defines the format and structure of a document. There are six heading tag

Example:

  • <h1>……</h1>

  • <h2>……</h2>

  • <h3>……</h3>

  • <h4>……</h4>

  • <h5>……</h5>

  • <h6>……</h6>

Any text inside these tags is displayed differently depending on the heading number.


    Note : -
  1. <h1>…… </h1> is largest heading tag and <h6>……. </h6> is smallest.
  2. Heading get their own line on the web pages by starting from a new line.

Cristle Academy

Compiler