D. (X)HTML Symbols and Characters

As you saw in Chapter 21, Symbols and Non-English Characters, you can add symbols and characters that don’t belong to your page’s encoding or that can’t be typed (like invisible characters), by inserting a character reference, that is, the symbol’s associated number, hexadecimal number, or name in Unicode.

Since there are more than 65,000 characters in Unicode, printing out each one’s numeric or hexadecimal reference would require a book of its own, and be rather unwieldy to boot. Instead, you can consult Unicode’s site, (www.unicode.org) where the characters are neatly divided by language and theme.

I can, however, provide you with a list of the 252 named references (officially called character entity references ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.