HTML Headings

by Yogesh Khanna 29-Jun-16

0 892


HTML headings are defined with the <h1> to <h6> tags. These tags are basically use for give the heading and titles of any paragraph.

HTML has six levels of heading elements, <h1> through <h6>. Here, <h1> is used for the largest heading while <h6> is used for smallest heading. The <h1> tag is considered as the most important headline on a web page. HTML provides an additional blank line before and after a heading in a web page. Align is a valuable heading attribute.

HTML Headings:

<html>

<head>
<title> HTML Heading Tags </title>
</head>

<body>

<h1> This is a heading 1 </h1>
<h2> This is a heading 2 </h2>
<h3> This is a heading 3 </h3>
<h4> This is a heading 4 </h4>
<h5> This is a heading 5 </h5>
<h6> This is a heading 6 </h6>

</body>
</html>


Share:


Discount Coupons



Comments

    Waiting for your comments

Leave a Reply