HTML HEADINGS 7

headings 7

HTML headings are important part of web pages. There are six sizes of headings. There are separate tags for each size of heading. But the general syntax of heading tag is: <ha>…</ha>. Where, “a” is a number of heading size. e.g. <h1>..</h1> is used for heading # 1(largest heading size).

Following is the heading tags and their result:


HEADING TAG VALUES
<ha>….</ha> <h1>…</h1>
<h2>…</h2>
<h3>…</h3>
<h4>…</h4>
<h5>…</h5>
<h6>…</h6>

 

Sizes of Headings:


 

It is important to use headings for headings only. Search engines use headings to search and index the content of any web page.

HTML HEADINGS:

Following example shows different sizes of headings:

Example 6.1:

<html>

 

<head>

<title>Website-School/HTML Headings example 1</title>

</head>

 

<body>

<h1>This is Heading #1</h1>

<h2>This is Heading #2</h2>

<h3>This is Heading #3</h3>

<h4>This is Heading #4</h4>

<h5>This is Heading #5</h5>

<h6>This is Heading #6</h6>

</body>

 

</html>

For more visit next posts in this category.To go back to Contents of this tutorial: Contents of HTML Tutorial

email

2 Responses to HTML HEADINGS 7

  1. Jon Favreau says:

    Would it be possible post this to one of my websites on this topic? I’ll link back to the original, of course. Let me know what you think. :)

  2. muntaha1858 says:

    hi this is admin testing

Leave a Reply