Home HTML CSS JavaScript React Gamedatum.com
× Home HTML CSS JavaScript React Gamedatum.com

Headings


Like in any text, the headings in HTML are providing the title or subtitle to a section or a piece of text on a web page.

You must use the headings (h1 - h6) correctly on your web page to mark the importance of the text that it refers to. The heading of a page plays also a significant role to the search engines and the ranking of the web pages.

There are 6 sizes of Headings:

They are listed below:

               
                
    <!-- The headings -->
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
                
                
              

The result:

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6