Heading Tags in HTML
- Headings are defined with the <h1> to <h6> tags. <h1> defines the biggest heading. <h6> defines the smallest heading.
Source code | Output |
<H1>This is header 1</H1> | This is header 1 |
<H2>This is header 2</H2> | This is header 2 |
<H3>This is header 3</H3> | This is header 3 |
<H4>This is header 4</H4> | This is header 4 |
<H5>This is header 5</H5> | This is header 5 |
<H6>This is header 6</H6> | This is header 6 |