HTML Headings Tags


There are 6 levels of headings in HTML: <h1>, <h2>, <h3>, <h4>, <h5>, and <h6>.

The <h1> - <h6> tags are used to mark headings according to their importance. The <h1> tag stands for the most important heading of the web page and the <h6> stands for the least important and smallest one.

Source Code

<html>
  <head>
    <title>Heading Tags</title>
  </head>
  <body>
    <h1>Heading Level 1</h1>
    <h2>Heading Level 2</h2>
    <h3>Heading Level 3</h3>
    <h4>Heading Level 4</h4>
    <h5>Heading Level 5</h5>
    <h6>Heading Level 6</h6>
  </body>
</html>
To download raw file Click Here

HTML Horizontal Rules


The <hr> tag defines a thematic change between paragraph-level elements in an HTML page. The <hr> element is used to separate content in an HTML page.

Source Code

<html>
  <head>
    <title>Horizontal Rule</title>
  </head>
  <body>
    <h1>Heading 1</h1>
	<hr>
  <h2>Heading 2</h2>
  </body>
</html>
To download raw file Click Here



Learn All in Tamil © Designed & Developed By Tutor Joes