HTML में heading या का use title या subtitle को web page में display करने के लिए किया जाता है। यह text को bold और big font साथ display .


HTML में 6 type की headings का use किया जाता है जिसे आप h1 , h2 ...... h6 तक लिख सकते हैं।   जिसमे सबसे main heading <h1> और सबसे lowest heading <h6> होती है।

? Headings SEO में काफी important role play करती हैं इसलिए हर एक web page में headings का use करे। Web page के title को <h1> में लिखें और बाकि subheadings के लिए अलग - अलग heading tag का use करें।

Note : Page में <h1> का use सिर्फ एक बार ही करें तो ज्यादा सही रहेगा।

HTML Heading Example

File : html_heafing_example.html

Copy Fullscreen Close Fullscreen Run
 <!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>HTML Heading Example</title>
	</head>
	<body>
		<h1>Heading number 1</h1>  
		<h2>Heading number 2</h2>  
		<h3>Heading number 3</h3>  
		<h4>Heading number 4</h4>  
		<h5>Heading number 5</h5>  
		<h6>Heading number 6</h6> 
	</body>
</html> 

Related Topics :

Rahul Kumar

Rahul Kumar

Hi ! My name is Rahul Kumar Rajput. I'm a back end web developer and founder of learnhindituts.com. I live in Uttar Pradesh (UP), India and I love to talk about programming as well as writing technical tutorials and tips that can help to others.

Get connected with me. :) LinkedIn Twitter Instagram Facebook

b2eprogrammers