Headings (h1, h2, h3, h4) play an important part in search engine optimization. Lot of SEO giants are making predictions about the importance of headings. Many of them are saying that headings are not useful for SEO in any way these days. But I must say that h1 heading still has some importance if we use it carefully. You should use them in limited quantity in your page and include your targeted keywords carefully. Do not spam your headings otherwise google may penalize you.
How to use heading in html
<h1>this is heading h1</h1>
<h2>this is heading h2</h2>
The main disadvantages with the headings are their large size and default margin. They look absolutely nonsense like the old time WebPages. You can make headings stylish by using CSS to meet your site’s theme. Here is the code to stylize the heading h1:
HTML:
<div id=”mydiv”><h1>This is heading h1</h1></div>
CSS:
#mydiv h1 {
margin:0;
padding:0;
color:#114477;
font-family: Tahoma, Arial, Verdana;
font-size:130%;
font-weight:normal;
}
You can make changes in the appearance of heading byadjusting css properties in above code. For further assistance leave comments here.




