In most of the cases, you will need to make the title or topic clear so that user can understand what the page is all about. heading helps us achieving that. It makes the content bigger and stronger than any regular content.
there are 6 headings available in HTML.
- Heading1 is the main heading and a page can only have one.
- Heading2 ~ Heading6 can be used anywhere on the page to make the subtitles and important text stands out.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML COURSE</title>
</head>
<body>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
</body>
</html>I hope you will like it. If you face any issue or have any doubt please connect with me via facebook messenger chat floating on the right side of the screen :)
happy learning :)
