h1 (Heading) tag

<H1>

Explanation

H1 tag is used to apply "Level 1" heading in a document.
<h1>Text</h1>

Example Code:

Result :

Level 1 Heading

  • <hl> is referred as "Level 1" heading.
  • The font size obtained in level 1 heading is "24 pixels".
  • Apply <h1> to <h6> to insert headings in a content or passage.
  • <h1> to <h6> is referred as the six levels of headings in HTML5. It is possible to use the heading tags separately.
It is available in the previous versions of HTML.
It supports both Global Attributes and Event Attributes in HTML5.

Limitations:

It is applicable to all browsers.

Ask Questions

Ask Question