HTMLमें Headings बनाना -
HTML headings are defined with the
<h1>
to <h6>
tags.<h1>
defines the most important heading. <h6>
defines the least important headingHTML में 6 हेडिंग होती है जो h1 से h6 तक होती है Desending order में होती है
Example- नीचे दिए गए कोड को Notepad में एंटर करे-
<!DOCTYPE html>
<html>
<body>
<h1>Welcome to my guide</h1>
<h2>Welcome to my guide</h2>
<h3>Welcome to my guide</h3>
<h4>Welcome to my guide</h4>
<h5>Welcome to my guide</h5>
<h6>Welcome to my guide</h6>
</body>
</html>
Output ऐसा ही आएगा जैसा नीचे दिया गया है -