Heading Tags used in HTML:
The heading tags are mostly used in
HTML's <head> part for show the largest or smallest heading of a subject or article. In HTML, there are six (h1, h2, h3, h4, h5, h6) type of heading tags are we can used in our webpage. The different type of heading tags are used for different uses like as <H1> tag is used for largest heading in our webpage than other heading tags. for
ex:
<html>
<head>
<h1>Heading First!</H1> //Shows the largest heading in the page.
<h2>Heading Second!</h2> //Shows the second largest heading in the page.
<h3>Heading Third!</h3> //......
<h4>Heading Fourth!</h4> //........
<h5>Heading Fifth!</h5> //..............
<h6>Heading Sixth!</h6> //Shows the smallest heading in the page.
</head>
</html>
In some search engines, like as
Google,
Yahoo,
Bing use the content included within the header text in their searching pages. The <H1> tag is the most important, followed by <H2> tag in HTML for different purpose. Add your unique keywords in your header tags in HTML coding for your website or blog. If you mostly, work with the <H1> or <H2> tags
into your webpage and get the keyword phrase you’ve assigned to that webpage within
the heading tag under the <head> tag of the HTML.
Some developers use a larger font as a substitute of <H1> and <H2>
tags. The search engines give the points only if the keyword phrase is between the
<H1> tag and the </H1> tag.