Monday, September 26, 2022

 Heading Tag in HTML?


  • HTML heading tags are used to give title and sub heading to an article.
  • There are six different types of heading tags, with h1 having the largest font size and h6 having the smallest.
  • HTML paragraph elements are used to create paragraphs on a website and can also function as a line break.

  1. The <h1>, <h2>, <h3>, <h4>, <h5>, and <h6> elements are used to create headings in descending order of importance where <h1> is the most important and <h6> the least.
<!DOCTYPE HTML>
<html>
<head>
<title>HEADING TAG</title>
</head>
<body>
<h1>Header Level 1</h1>
<h2>Header Level 1</h2>
<h3>Header Level 1</h3>
<h4>Header Level 1</h4>
<h5>Header Level 1</h5>
<h6>Header Level 1</h6>
</body>
</html>

What is html ?

  •  Basic

WHAT IS HTML?

  • It is a very easy and simple language. It can be easily understood and modified.
  • It is very easy to make an effective presentation with HTML because it has a lot of formatting tags.
  • It is a markup language, so it provides a flexible way to design web pages along with the text.





  Heading Tag in HTML? HTML heading tags are used to give title and sub heading to an article. There are six different types of heading tags...