HTML Heading Sizes
Whenever a reader reads an article, first he sees all the html heading sizes once and then starts reading the article. Such a reader does this to check whether the information he is looking for is in that article or not. html tag for largest heading. correct html tag for largest heading.
Whenever you define a text as heading, it appears to be bigger and bold in the webpage. It shows the headings different from the normal text in the webpage. But to show the text bigger and bolder you should not define it as heading.
Types of HTML Heading Sizes
HTML provides you headings of six level. They are used to define topics and subtopics, respectively. Their list is being given below.
This is the most important heading tag. It is used to define the main heading of the article. It should be used only once in the document. Search engine crawlers find out what an article is about.
This is the subheading tag. By this you define subheadings. You can divide a large section into several sections by this tag
This is a minor heading tag. With this heading you can define subtopics by defining too many minor topics.
This is the heading tag of the fourth level, so that you can further divide the content into sections at the deep level.
This is the fifth level heading tag and also lets you define the headings. But it is used to define content at the deep level.
This is the sixth level heading tag and also you can define the heading. This is very close to the heading normal text. With this you can present many topics as lists.
Example of HTML Heading Sizes
The simple example of using headings in the below HTML is being given below.
<!DOCTYPE html> <html> <head> <title>HTML Headings Example</title> </head> <body> <h1>This is H1 heading</h1> <h2>This is H2 heading</h2> <h3>This is H3 heading</h3> <h4>This is H4 heading</h4> <h5>This is H5 heading</h5> <h6>This is H6 heading</h6> </body> </html>
In the example given above, all the headings have been used. This example produces the below given output. html tag for largest heading.