Pages

Saturday, 18 August 2012

Header tags in HTML

आज हम जानेंगे header टेग्स के बारे में:

कुल 6 प्रकार के header टेग्स होते हैं, यह वेब साईट की हेडिंग और सबहेडिंग के लिए इस्तेमाल की जाती है। इन्हें याद रखना भी बेहद आसान होता है, यह टेग्स इस प्रकार हैं:

<h1></h1>
<h2></h2>
<h3></h3>
<h4></h4>
<h5></h5>
<h6></h6>

यह टेग्स body टेग के अन्दर लिखे जाते हैं, h1 टेग बड़ी हेडिंग के लिए है और h6 टेग सबसे छोटी हेडिंग के लिए इस्तेमाल की जाती है।

e.g.
कोड इस प्रकार है:

<html>
<head>
<title>Hello world</title>
</head>
<body>
<h1>Hello world</h1>
<h2>Hello world</h2>
<h3>Hello world</h3>
<h4>Hello world</h4>
<h5>Hello world</h5>
<h6>Hello world</h6>
</body>
</html>
 

ब्रोव्सर में रन करके देखें:


1 comment:

  1. Thanks for the always useful information. This is great information to help peoples and nice article written by writer. CnX Player is a powerful & efficient 4K ultra HD enabled video player for Windows 10 PC & Tablet, Android and iOS – iPhone & iPad.

    Download Media Player for Windows 10 - Microsoft Store
    Download Video Player for Android from Google Play
    Download Video Player for iPhone/iPad from Apple App Store

    ReplyDelete