Certain characters have special meaning in HTML documents. There are two printing characters which may be interpreted by an HTML application to have an effect of the format of the text:

Space
This is interpreted as a single word space (the section of a paragraph of text where the text can be broken if necessary - for example where lines can be broken for text wrapping) except where it is used within <PRE> elements. Within preformatted text elements, a space is interpreted as a nonbreaking space.

Hyphen
This is interpreted as a hyphen glyph in all contexts.

The following entity names are used in HTML, always prefixed by ampersand (&) and followed by a semicolon. They represent particular graphic characters which have special meanings in places in the markup, or may not be part of the character set available to the writer.

GlyphNameSyntaxDescription
<lt&lt;Less than sign
>gt&gt;Greater than sign
&amp&amp;Ampersand
"quot&quot;Double quote sign


Control Characters Character Data Overview Character Entity References