HTML Text Formatting
HTML Text Formatting
❮ PreviousNext ❯
HTML contains several elements for defining text with a special meaning.
Example
This text is bold
This is subscript and superscript
Try it Yourself »
Example
<strong>This text is important!</strong>
Try it Yourself »
Example
<i>This text is italic</i>
Try it Yourself »
Example
<em>This text is emphasized</em>
Try it Yourself »
Example
<small>This is some smaller text.</small>
Try it Yourself »
Example
<p>Do not forget to buy <mark>milk</mark> today.</p>
Try it Yourself »
Example
<p>My favorite color is <del>blue</del> red.</p>
Try it Yourself »