HTML - Headings
Heading Tags
Heading tags are used to create heading and sub heading within an HTML page. These headings can be of 6 levels. Starting from <h1>.... <h6>.
<h1> </h1> being the most important heading or largest heading.
<h6> </h6> being smallest heading.
Headings are usually displayed in larger fonts than normal body text. The first heading in each document should be tagged <h1>.
Headings HTML Code
<h1>I am level one heading</h1> <h2> I am level two heading </h2> <h3> I am level three heading </h3> <h4> I am level four heading </h4> <h5> I am level five heading </h5> <h6> I am level six heading </h6> |
This is how it will appear in a browser |
I am level one headingI am level two headingI am level three headingI am level four headingI am level five headingI am level six heading |
View above example output in a new browser window |