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 < &#0060; &lt;
greater than > &#0062; &gt;

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 · &#0183; &middot;
left arrow &#8592; &larr;
up arrow &#8593; &uarr;
right arrow &#8594; &rarr;
down arrow &#8595; &darr;
leftright arrow &#8596; &harr;

References

Related

If you enjoyed this article, please subscribe for free!
Via the atom or rss feed, or enter your email address to get updates when new entries are posted:
(Your email will not be shared nor used for anything other than sending new posts. See the policies page for more about subscriptions and privacy.)

You can skip to the end and leave a response. Pinging is currently not allowed.

Comments

  1. 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.com

You can follow any responses to this entry through the
comments feed.

Say Your Say

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

By submitting your comment here, you agree to license it under the same Creative Commons Attribution-ShareAlike 3.0 License as the movingtofreedom.org web site. Please see policies for more information about comments and privacy.