HTML contains several elements for defining text with a special meaning. These formatting elements were designed to display special types of text.
| Tag | Output |
|---|---|
| <b> | Bold |
| <strong> | Important (Bold) |
| <i> | Italic |
| <em> | Emphasized |
| <mark> | Highlighted |
| <small> | Smaller text |
| <del> | |
| <ins> | Underlined/Inserted |
| <sup> | X2 Superscript |
| <sub> | H2O Subscript |
Edit the code below and click Run to see the result live.