HTML Headings

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.

Example:

<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>


Coding Tag

Coding Tag always happy to serve you in Information Technology (IT). Learn HTML, CSS, Javascript, PHP, Android, Digital Marketing, Latest IT News and many more.

Leave a Reply

avatar
  Subscribe  
Notify of