Heading tag
3- heading tag
 
3- heading tag
-----Description-----
 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.
Example-input
<!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
Comments
Post a Comment