January 2018
Intermediate to advanced
678 pages
20h 16m
English
A character reference is code that you can use in your HTML to display a character that would otherwise be difficult to display. Character references are sometimes called “character entities.” We use the term “character reference” because that’s the term that the W3C uses. See the table in FIGURE 2.13. It contains some of the more popular character references.
FIGURE 2.13 Character references
Character |
Character Reference |
Description |
< |
< |
less than |
> |
> |
greater than |
≤ |
≤ |
less than or equal |
½ |
½ |
one-half |
¼ |
¼ |
one-fourth |
& |
& |
ampersand |
" |
" |
quote |
' |
' |
apostrophe |
space |
|
nonbreaking space |
← |
← |
←left arrow |
• |
· |
bullet |
✓ |
✓ |
check mark ... |
Read now
Unlock full access