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:
- id, class (document-wide identifiers)
- lang (language information), dir (text direction)
- title (element title)
- style (inline style information)
- onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown onkeyup (intrinsic events)
Example
HTML font styling elements:
Comments
No comments have been made yet.
Please login to leave a comment. Login now