HTML Heading - h1 to h6 Header Tag Example

In this tutorial, you'll learn about HTML heading from header tag h1 to h6 and differentiate with HTML header tag examples.

HTML(HyperText Markup Language) give us permission to only use h1, h2, h3, h4, h5, and h6 heading tags. In this h1 is largest and h6 is smallest according to font-size and priority. 


HTML Heading

Importance of HTML Heading

  1. To differentiate the priority of different HTML headings.
  2. We have options to use headings according to importance.
  3. The heading is very important for search engines (like Google, Bing, etc.) to understand your website to rank on the search engines.
I think if you are a beginner then it is quite complicated but doesn't worry in the future you will understand easily because it is not rocket science.

h1 to h6 Heading

Below you see how to use h1 to h6 tags in any HTML document. The six different headings are: 

<h1>Welcome to codeamy.in</h1>

<h2>Welcome to codeamy.in</h2>

<h3>Welcome to codeamy.in</h3>

<h4>Welcome to codeamy.in</h4>

<h5>Welcome to codeamy.in</h5>

<h6>Welcome to codeamy.in</h6>
After interpreter, it will show on the browser like

html heading - h1 to h6 header tag example




If you have any doubts, Please let me know

Previous Post Next Post

Contact Form