HTML Text/Formate Tags With Example
HTML Formate Tags
The following HTML tags are used to format the appearance of the text on your web page. This can jazz up the look of the web page, however, too much variety in the text formatting can also look displeasing.
to make some text on your web pages to appear differently than normal text, for example, you can use the tag <b> to make the text bold, tag <i> to make the text italic, tag <mark> to highlight the text, tag <code> to display a fragment of computer code, tags <ins> and <del> for marking editorial insertions and deletions, and more.
HTML Formatting Tags
HTML formatting tags use for formatting a text style. It will become necessary to make minor changes to the formatting of those elements.
Tag | Example | Results |
---|---|---|
<b> </b> | <b>Bold Text</b> | An example of Bold Text |
<big> | <big>Big Text</big> | An example of Big Text |
<center> | <center>Center Text</center> | An example of
|
<em> | <em>Emphasized Text</em> | An example of Emphasized Text |
<i> | <i>Italic Text</i> | An example of Italic Text |
<small> | <small>Small Text</small> | An example of Small Text |
<strong> | <strong>Strong Text</strong> | An example of Strong Text |
<sub> | <sub>Subscript Text</sub> | An example of Subscript Text |
<sup> | <sup>Superscript Text</sup> | An example of Superscript Text |
<del>
<s> <strike> |
<del>Delete Text</del>
<s>Strike Text</s> <strike>Strike Text</strike> |
An example of
An example of An example of |
<u> | <u>Underline Text</u> | An example of Underline Text |
<tt> | <tt>Teletype Text</tt> | An example of Teletype Text |
<blockquote> | <blockquote>Long Quotation</blockquote>
<q>Short Quotation Text</q> |
An example of
Long Quotation Text An example of Short Quotation Text |