knowledgediarybd.com

Your Virtual Knowledge Campus







HTML Heading

HTMLImagespngHTML Heading is an important element in web design because HTML Heading have a lot of uses in web programming For Example: When we write a content or post  then a heading is must needed.

Dear  Learner here,I will discuss how many types of HTML heading are exit in HTML and how to declare HTML Heading I hope  that will be helpful for your better experience in the field of HTML Heading.

HTML Headings are  classified into following six categories these are:

  •  Heading 1 use as: h1
  •  Heading 2 use as: h2
  •  Heading 3 use as: h3
  •  Heading 4 use as: h4
  •  Heading 5 use as: h5
  •  Heading 6 use as: h6

Headings of HTML are defined with the<h1>to</h1>

<h6>tag</h6>

Syntax of Heading Tag:

Heading text

Heading tag must be included between body tag

Like:

For Examples:

<h1>This a example of heading h1</h1>

This a example of heading h1

This is a example of heading 1

<h2>This a example of heading h2</h2>

This a example of heading h2

This is a example of heading 2

<h3>This a example of heading h3</h3>

This a example of heading h3

This is a example of heading 3

………………………………………………………

This a example of heading h5

This is a example of heading 5

This a example of heading h6

This is a example of heading 6

Example with HTML Code:

<html>
<head>

</head>

<body>
<h1>This an Example of Heading h1</h1>

<h2>This an Example of Heading h2</h2>

<h3>This an Example of Heading h3</h3>
<h4>This an Example of Heading h4</h4>
<h5>This an Example of Heading h5</h5>
<h6>This an Example of Heading h6</h6>

</body>
</html>

Output of the Above Code: 

This an Example of Heading h1

This an Example of Heading h2

This an Example of Heading h3

This an Example of Heading h4

This an Example of Heading h5
This an Example of Heading h6

Related Post Or you may Like:

knowledgediarybd.com © 2017
shares