HTML Character Entity References of Potential Interest to WordPress Users
| character | ref # | ref name | |
|---|---|---|---|
| curly left single quote | ‘ | ‘ | ‘ |
| curly right single quote | ’ | ’ | ’ |
| curly left double quote | “ | “ | “ |
| curly right double quote | ” | ” | ” |
| en dash | – | – | – |
| em dash | — | — | — |
| ellipsis | … | … | … |
| left angle quote | « | « | « |
| right angle quote | » | » | » |
| single quote (apostrophe) | ' | ' | ' |
| double quote | " | " | " |
| hyphen | - | - | |
| backslash | \ | \ | |
| forward slash | / | / | |
| period (dot) | . | . | |
| space |   | ||
| non-breaking space |   | | |
| ampersand | & | & | & |
| less than | < | < | < |
| greater than | > | > | > |
I was going to include this table as part of a longer, related entry, but then I thought it might be better posted as a stand-alone reference.
The first several items are things that WordPress will create for you to make your posts prettier. For example, WP will convert normal quotes into curly quotes and change three consecutive dots into an ellipsis. This is often desirable, but can also be a nuisance.
The »right angle quotation mark» are used by default in page titles and «left and right» often as navigation icons. (I like to use the right pointing one for representing menu tree paths, e.g. System » Preferences » Keyboard.)
Some of the characters are ones you might want to encode in some situations to prevent WordPress interference with your text, for example, hyphens and dots to stop conversions to en/em dashes and ellipses. The last three are the standard characters you’ll always want to encode for basic HTML compliance and are included here for good measure.
Please let me know of other WordPress-related character entities I neglected to mention!
And:
Some other characters I found and thought I might want to use someday…
| character | ref # | ref name | |
|---|---|---|---|
| middle dot | · | · | · |
| left arrow | ← | ← | ← |
| up arrow | ↑ | ↑ | ↑ |
| right arrow | → | → | → |
| down arrow | ↓ | ↓ | ↓ |
| leftright arrow | ↔ | ↔ | ↔ |
References
- W3C Character entity references in HTML 4
- Wikipedia List of XML and HTML character entity references
Related
Comments
-
What name for the music symbols?
I know the ref#’s & # 9834; and & # 9835 but can’t get it to work so I would like it’s name EXAMPLE & hearts ; all put together is a heart
Please reply to
lynrae3gems@yahoo.comPosted by Lynda on 21 April 2008 at 1:12 am
You can follow any responses to this entry through the
comments feed.


bookmark with del.icio.us
Richard Stallman:


