Special Characters in HTML Documents

Languages contain a variety of special characters that you may need to use.

You can include special characters in HTML code by using special "tags", called entities or entity references.

Unlike the tags we've seen so far, special character entities aren't neatly tucked into paired brackets (< >); instead, they always begin with an ampersand (&) and end with a semicolon(;).

See Table 5-1 in your book for a list of some of these tags.

Please note that if we want the uppercase version of one of the characters, simply make the first letter of the formatting tag uppercase. (e.g. &Oslash; from &oslash;)

To produce a different vowel with a special mark, change the first letter of that tag. (e.g. &eacute; from &aacute;)

See an example


Jump to the previous, next, or first slide.