HTML Heading is the most important tag in HTML. A heading tag is most of the time used in the Body of content. Total 6 types of we are using in our HTML coding. HTML heading tags are the most important in our content writing.
SEO experts always give importance to using a heading. If you use the right types of heading in the right place that it will help your site ranking.
HTML Heading
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
These are the 6 types of Heading. Heading 5 and Heading 6 is almost normal heading just like a paragraph. But heading 1,2,3,4 are most of the time using it. Here we use <h1> for Heading 1 and <h2> for Heading 2. Similarly <h3> and <h4> tag are use for the Heading 3 and Heading 4. All the heading tag has a closing heading tag </h1>,</h2>,</h3>,</h4> like this.
HTML Heading Tag Code
<!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>
If you can test for the heading HTML code then copy it and paste any HTML editor or notepad. if you paste the code in notepad then you must need to change your file txt extension to an HTML extension. Otherwise, it's not showing the HTML data. After completing, this process opens that file on your browser. It's how the heading data is.