HTML Formatting is an interaction of arranging text for a better look.
You can see some Html text formatting tags on the table below.
Element Name | Description |
---|---|
<b> | Used bold a text |
<i> | used to make text italy |
<strong> | Important text |
<em> | used to display content in italy |
<mark> | used to highlight text |
<u> | used to underline text |
<sup> | used to display text above the content |
<sub> | used to display text below the content |
<del> | deleted text |
<ins> | inserted text |
<big> | used to make big text |
<small> | used to make small text |
<!DOCTYPE html> <html> <body> <h2>text Formatting</h2> <p>this is <b>Bold text</b></p> <p>this is <i> italy text</i></p> <p>this is <strong>Very important text</strong></p> <p>this is <em>Emphasized text</em></p> <p>this is <mark>Highlighted text</mark></p> <p>this is <u>Underlined text</u></p> <p>this is <sup>Superscript text</sup></p> <p>this is <sub>Subscript text</sub></p> <p>this is <del>Delated text</del> and this is <ins>Inserted text</ins> </p> <p>this is <big>Big text</big> and this is <small>Small text</small></p> </body> </html> </html>Output
0 Comments