<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Heading in HTML</title>
</head>
<body>
<h1>Heading1</h1>
<h2>Heading2</h2>
<h3>Heading3</h3>
<h4>Heading4</h4>
<h5>Heading5</h5>
<h6>Heading6</h6>
</body>
</html>. Output=
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Heading in HTML</title>
</head>
<body>
<h1>Heading1</h1>
<h2>Heading2</h2>
<h3>Heading3</h3>
<h4>Heading4</h4>
<h5>Heading5</h5>
<h6>Heading6</h6>
</body>
</html>. Output=
Heading1
Heading2
Heading3
Heading4
Heading5
Heading6 . Description=
Heading Tag
Heading Tag
The <h1> <h2> <h3> <h4> <h5> <h6 > tags are used to define HTML headings.
- <h1> defines the most important heading and important for SEO.
- <h6> defines the least important heading.
HTML : Heading tag
Reviewed by Network security
on
April 29, 2019
Rating:
No comments: