HTML Text formatting
HTML contains several elements for defining text with a special meaning.
Formatting elements were designed to display special types of text:
<b>- Change Text to Bold
<strong>- Important Text
<i>- Change text to italic format
<em>- Emphasized Text
<mark>- Marked text which will highlight the text.
<small>- Change to Smaller text
<del>- Change text format to Deleted.
<ins>- Inserted text which will be identified by browser as inserted text. usually it will appear as underline.
<sub>-Subscript text which will appear next to the normal text before the element.
<sup>- Superscript text which will appear next to the normal text before the element.
Example of text formatting
Subscript text : x 2 y
Superscript text : x 2