Heading tags in html page example

Heading tags are very important tag in HTML document; it helps to make the content organized and reader friendly, and the content inside heading tag tells search engine what are the important subject on that particular page, thus helps in search engine optimization.

<h1>Html Header tags are important<h1>

Html Header tags are Important for SEO

Headings are defined with the <h1> to <h6> tags.

<h1> means the most important heading.

<h6> defines the least important heading

Here are some example how you can define heading tags

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

Though there are six heading tags supported in html standard, but for best SEO result you should use till third heading tag, then if required keep repeating the h3 more number of times.

Font Size in Heading tag

Each HTML heading tag has a default font size. But you can specify the font size for any heading with the style attribute using the CSS font-size property, in your css file you can setup the default size for each heading.


Now when you define a heading in your webpage, it will take the default size you have set in your css.

Things to remember:

While writing heading tags, make sure you don’t repeat same keywords in all heading, sometimes you may feel if you put same keywords in all heading, you get advantage of those keywords, that’s not right!

Firstly, by repeating the keywords you miss opportunity to use other keywords on that place.

Secondly, when you put same keywords everywhere, the page become over optimized for SEO, which is not good for SEO health of your website.

You may be interested to read following tutorials

Web Designing Tutorials
Important heading tags for SEO: how to write header in html page
Digital marketing Tools
HTML Heading Tags

HTML Tutorial | Web Designing Course | HTML5 Introduction