HTML - Formatting in Hindi




दोस्तों इस chapter में हम HTML Formatting tag के बारे में जानेंगे तो चलिए शुरू करते है, HTML में format tags का उपयोग किसी भी document के texts को markup करने और structure करने के लिए किया जाता है। HTML में कई formatting tag उपलब्ध हैं। इन tags को text bold, italic, टेक्स्ट में underlined करके बड़े आकार में use किया जाता है।

Formatting tag प्राथमिक रूप से lesson को प्रदर्शित करने के तरीके को संशोधित करने के लिए होते हैं। हम text को bold, italic, या उन्हें subscript या superscript के रूप में भी परिभाषित कर सकते हैं। HTML में formatting tag को एक text style के लिए use किया जाता हैं।

HTML में formatting करने के लिए बहुत सारे tag उपलब्ध है जो बहुत ही common formatting type है ये आपके text पर apply होते इनकी list नीचे दी जा रही है।

HTML <b> Tags

दोस्तों HTML में b tag का use text या content को bold content में display कराने के लिए किया जाता है।

Example

<html>
<head>
<title>
Bold tag example
</title>
</head>
<body>
<b>This is bold text</b>
</body>
</html>

Result

Bold tag example This is bold text

HTML <strong> Tags

HTML में strong tag का use text को emphasized bold show करने के लिए किया जाता है।

Example

<html>
<head>
<title>
Strong tag example
</title>
</head>
<body>
<strong> This is strong text</strong>
</body>
</html>

Result

Strong tag example This is strong text

HTML <i> Tags

HTML में italic tag का use text या content को italic रूप display कराने के लिए किया जाता है।

Example

<html>
<head>
<title>
Italic tag example
</title>
</head>
<body>
<i>This is italic text</i>
</body>
</html>

Result

Italic tag example This is italic text

HTML <small> Tags

HTML में small tag का use text को small रूप में represent करने के लिए किया जाता है।

Example

<html>
<head>
<title>
Small tag example
</title>
</head>
<body>
<small> This is small text</small>
</body>
</html>

Result

Small tag example This is small text

HTML sub Tags

HTML में sub tag का use text को subscript में दिखाने के लिए किया जाता है।

Example

<html>
<body>
<p>This is my <sub>subscript</sub> paragraph</p>
</body>
</html>

Result

This is my subscript paragraph

HTML sup Tags

HTML में sup tag का use text को superscript में दिखाने के लिए किया जाता है।

Example

<html>
<body>
<p>This is my <sup>supscript</sup> paragraph</p>
</body>
</html>

Result

This is my supscript paragraph