Answer:
We can create headers in html using <h1> through <h6> tags
Explanation:
We have six types of headings. They are:
<h1>
<h2>
<h3>
<h4>
<h5>
<h6>
If we want the heading to mark it as an important one, we can use <h1>.
So, <h1> heading is used for main headings.
If we want the heading to mark it as a least important one, we can use <h6>.
<h3>, <h4>, <h5> are used for sub headings.
Each HTML heading has a default size. However, you can specify the size for any heading with the style attribute, using the CSS font-size property as shown below:
<h1 style="font-size:50px;">The Hindu</h1>
We use headings to show the document structure.
Here is a simple html code :
<!DOCTYPE html>
<html>
<body>
<h1 style="font-size:50px;">This is my heading</h1>
<p> some text here</p>
</body>
</html>