Text level elements - Character Styles
|
Character styles specify the appearance or font of some text.
|
Font style elements
These all require start and end tags, e.g.
This has some <B>bold text</B>.
| TT |
teletype or monospaced text
|
| I |
italic text style
|
| B |
bold text style
|
| BIG |
places text in a large font
|
| SMALL |
places text in a small font
|
| SUB |
places text in subscript style
|
| SUP |
places text in superscript style
|
Deprecated Font Elements
These elements are being phased out in preference to style sheets.
They all require start and end tags, e.g.
This has some <u>underlined test </u>.
| U |
underline text
|
| S |
strike-through text style
|
| STRIKE |
strike-through text style
|
Phrase Elements
These all require start and end tags, e.g.
This has some <EM>emphasized text</EM>.
| EM |
basic emphasis typically rendered in an italic font
|
| STRONG |
strong emphasis typically rendered in a bold font
|
| DFN |
defining instance of the enclosed term
|
| CODE |
used for extracts from program code
|
| SAMP |
used for sample output from programs, and scripts etc.
|
| KBD |
used for text to be typed by the user
|
| VAR |
used for variables or arguments to commands
|
| CITE |
used for citations or references to other sources
|
| PRE |
used for pre-formatted text
|
| Q |
used for short in-line quotations
|
|