दोस्तों इस 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 tag का use text या content को bold content में display कराने के लिए किया जाता है।
<html> <head> <title> Bold tag example </title> </head> <body> <b>This is bold text</b> </body> </html>
HTML में strong tag का use text को emphasized bold show करने के लिए किया जाता है।
<html> <head> <title> Strong tag example </title> </head> <body> <strong> This is strong text</strong> </body> </html>
HTML में italic tag का use text या content को italic रूप display कराने के लिए किया जाता है।
<html> <head> <title> Italic tag example </title> </head> <body> <i>This is italic text</i> </body> </html>
HTML में small tag का use text को small रूप में represent करने के लिए किया जाता है।
<html> <head> <title> Small tag example </title> </head> <body> <small> This is small text</small> </body> </html>
HTML में sub tag का use text को subscript में दिखाने के लिए किया जाता है।
<html> <body> <p>This is my <sub>subscript</sub> paragraph</p> </body> </html>
This is my subscript paragraph
HTML में sup tag का use text को superscript में दिखाने के लिए किया जाता है।
<html> <body> <p>This is my <sup>supscript</sup> paragraph</p> </body> </html>
This is my supscript paragraph