Appendix C. Special Characters

Symbols (such as & and ‘) are used in everyday writing. HTML uses a shorthand code to display certain characters correctly. The most frequently used characters are referenced in the following tables. As with any code, review your finished pages in the browser before sending your work to the Internet.

Caution

Caution

The entity references in the tables that follow are case sensitive.

Symbol Entities

Character

Description

Entity Reference

Entity Number

quotation mark

"

"

apostrophe

' (does not work in IE)

'

&

ampersand

&

&

<

less-than

&lt;

&#60;

>

greater-than

&gt;

&#62;

 

non-breaking space

&nbsp;

&#160;

¡

inverted exclamation ...

Get Sams Teach Yourself HTML in 10 Minutes, Fourth Edition 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.