Text Formatting tags
Bold tag - <b></b>
| <b>bolded text</b> |
bolded text |
Emphasis tag - <em></em>
| <em>emphasised text</em> |
emphasised text |
Strong tag - <strong></strong>
| <strong>strong styled text</strong> |
strong styled text |
Small tag - <small></small>
| <small>small styled text</small> |
small styled text |
Big tag - <big></big>
| <big>big styled text</big> |
small styled text |
Italic tag - <i></i>
| <i>italic text</i> |
italic text |
Underline tag - <u></u>
The Underline tag underlines a piece of text:
| <u>underlined text</u> |
underlined text |
Strike tag - <strike></strike>
crosses out text:
| <strike>strike through text</strike> |
underlined text |
Superscript tag - <sup></sup>
| E = MC<sup>2</sup> |
E = MC2 |
Subscript tag - <sub></sub>
| research<sub>22</sub> |
research22 |
Citation tag - <cite></cite>
| research <cite>citation</cite> |
research citation |
Abbreviation tag - <abbr></abbr>
| research <abbr>HTTP</abbr> |
research HTTP |
BlockQuote tag - <blockquote></blockquote>
| <blockquote>text to show the blockquote tag</blockquote> |
text to show the blockquote tag |
Code tag - <code></code>
| <code>text to show the code tag</code> |
text to show the code tag |
Preformated text tag - <pre></pre>
| <pre>text to show the pre tag</pre> |
text to show the pre tag |
Sample program text output tag - <samp></samp>
| <samp>text to show the samp tag</samp> |
text to show the pre tag |
Center tag <center>
The center tag does exactly what its name suggest. Any text of object within the tag is centered.
Here is a code example:
<center>text to center</center>
Here is the running example:
text to center