Character highlighting

Status: Extra

These elements allow sections of text to be formatted in a particular way, to provide emphasis, etc. The tags do NOT cause a paragraph break, and may be used on sections of text within paragraphs.

Where not supported by implementations, like all tags, these tags should be ignored but the content rendered.

All these tags have related closing tags, as in

		This is <EM>emphasized</EM> text.

Some of these styles are more explicit than others about how they should be physically represented. The logical styles should be used wherever possible, unless for example it is necessary to refer to the formatting in the text. (Eg, "The italic parts are mandatory".)


Browsers unable to display a specified style may render it in some alternative, or the default, style, with some loss of quality for the reader. Some implementations may ignore these tags altogether, so information providers should attempt not to rely on them as essential to the information content.

These element names are derived from TeXInfo macro names.

Physical styles

Fixed-width typewriter font.
Boldface, where available, otherwise alternative mapping allowed.
Italic font (or slanted if italic unavailable).

Logical styles

Emphasis, typically italic.
Stronger emphasis, typically bold.
Example of code. typically monospaced font. (Do not confuse with PRE )
A sequence of literal characters.
in an instruction manual, Text typed by a user.
A variable name.
The defining instance of a term. Typically bold or bold italic.
A citation. Typically italic.

Examples of use

	This text contains an <em>emphasized</em> word.
	<strong>Don't assume</strong> that it will be italic!
	It was made using the <CODE>EM</CODE> element. A citation is
	typically italic and has no formal necessary structure:
	<cite>Moby Dick</cite> is a book title.