The font style elements are used to offset default or styles sheet based font rendering.

In respective order, the meanings of the font syling elements are:

  • TT => teletype or monospaced text;
  • I => italic text style;
  • B => bold text style;
  • BIG => text in a "larger" font;
  • SMALL => text in a "smaller" font.

Rendering itself will depend on user agents (browsers).

Same as phrasing, font styling can be achieved in a richer fashion by using style sheets.

It's worth mentioning that elements <strike>, <u>, <font> and <basefont> have been deprecated.

Syntax:

<tt></tt>, <i></i>, <b></b>, <big></big>, <small></small>

Attributes:

Example

HTML font styling elements:

 

›› go to examples ››