HTML Formatting In Hindi

📔 : HTML 🔗

यह एक ऐसा process है जिससे हम text को format करके उसे better look और feel देते है। html हमें यह ability देता है की हम CSS के बिना text को format करे।


html मै कई सारे formatting tags है जो की text को bold, italicized, or underlined करते है।
Some html format tags are-

<font> The <font> tag is used to change the format of the text on the web page. 
<b> The <b> tag will bold the text inside the tag.
<i> The <i> tag will italicize the text inside the tag.
<u> The <u> tag will underline the text inside the tag. 

Advantages of html formatting

  1. content मै clear और consistent layout होगा।
  2. content के automated tables easily insert होंगे।
  3. content को अच्छी way से present किया जाता है।
  4. headings को हम easily view और edit कर सकते है।
  5. documents के section को हम easily move कर सकते है।
  6. designers readily देख सकते है की कोन सी style को place करना है।

HTML Formatting element list

<b> - Bold text
<strong> - Important text
<i> - Italic text
<em> - Emphasized text
<mark> - Marked text
<small> - Smaller text
<del> - Deleted text
<ins> - Inserted text
<sub> - Subscript text
<sup > - Superscript text

HTML <b> Tag

<b> element bold text को define करता है।

<b>This text is bold</b>

Output :
This text is bold

HTML <strong> Tag

<strong> element strong text को define करता है।

<strong>This text is strong</strong>

Output :
This text is strong

HTML <i> Tag

<i> element italic text को define करता है।

<i>This text is italic</i>

Output :
This text is italic

HTML <em> Tag

<em> element emphasized text को define करता है।

<em>This text is emphasized</em>

Output :
This text is emphasized

HTML <small> Tag

<small> element small text को define करता है।

<small>This text is small</small>

Output :
This text is small

HTML <big> Tag

<big> element big text को define करता है।

<big>This text is big</big>

Output :
This text is big

HTML <mark> Tag

<mark> element mark(highlight) text को define करता है।

<mark>This text is highlighted</mark>

Output :
This text is highlighted

HTML <del> Tag

<del> element deleted text को define करता है।

<del>This text is deleted</del>

Output :
This text is deleted

HTML <ins> Tag

<ins> element inserted text को define करता है।

<ins>This text is inserted</ins>

Output :
This text is inserted

HTML <sub> Tag

<sub> element subscript text को define करता है।

<span>This text is <sub>subscripted</sub></span>

Output :
This text is subscripted

HTML <sup> Tag

<sup> element superscripttext को define करता है। या कह सकते हैं कि यह power (घात) को represent करता है।

<span>This text is <sup>superscripted</sup></span>

Output :
This text is superscripted

HTML Formatting Example

File : html_formatting.html

Copy Fullscreen Close Fullscreen Run
 <!DOCTYPE html>
<html>
    <head>
        <title>Formatting elements example</title>
    </head>
    <body>
        <div>This makes ur <u> text </u> underlined <br/>
        This is a <b> bold </b> man <br/>
        This is a <strong> Strong </strong> creature <br/>
        I stands for <i> italics </i> <br/>
        This will <em> emphasize </em> your text <br/>
        This will <mark> highlight </mark> your word <br/>
        This is a <small> small </small> island <br/>
        This is a <big> Big </big> river <br/>
        I want red color, not <del> green </del> <br/>
        Please insert <ins> THIS </ins> instead of THAT <br/>
        H<sub> 2 </sub> O <br/>
        x <sup> 3 </sup> <br/>
        I want red color, not <strike> green </strike> <br/>
        This is a <tt> different </tt> font </div>
    </body 
</html> 

I hope अब आप HTML में formatting समझ गए होंगे।

Related Topics :

Rahul Kumar

Rahul Kumar

Hi ! I'm Rahul Kumar Rajput founder of learnhindituts.com. I'm a software developer having more than 4 years of experience. I love to talk about programming as well as writing technical tutorials and blogs that can help to others. I'm here to help you navigate the coding cosmos and turn your ideas into reality, keep coding, keep learning :)

Get connected with me. :) LinkedIn Twitter Instagram Facebook

b2eprogrammers