HTML: Heading tag

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

  • <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.
Latest posts by vikashdev k (see all)
Tagged : / / / / /

Leave a Reply