HTML Headings

Heading are defined by <h1> to <h6>

<h1> tag is used for most important title and <h6> is used for very least important.

Headings is limited between <h1> to <h6>.

Text after, <h6> become normal text for <h7>, <h8> and so on.



Code Example Heading

 

 


<!DOCTYPE html>
<html>
<body>

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

</body>
</html>



Output


 



Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
Back To Top