Spring Sale! Save 30% on all books w/ code: PLANET24
Web Dev + WordPress + Security

Essential HTML Entities

[ Image: Two Hip Characters ] Virtually every article written here at Perishable Press requires at least one or two “special” HTML characters. Some of these characters — such as quotation marks, hyphens, and dashes — are very common, while others — such as the copyright symbol, bullet, and arrow — happen less frequently. The vast majority of special characters, however, like the latin Ä (i.e., capital letter “A” with a diaeresis), and the mathematical symbol ⊃ (i.e., superset), rarely see the light of day on most blogs, but they do exist.

As a blogger and content creator, I generally use the same set of special characters over and over again. So when I need to throw down an m-dash or right-angle quote or something, I want a guide that just gets me there. Most of the top search results include every special character known to humans. And it’s just overkill. So to boost productivity while writing content, I put together the following table of essential HTML Entities1.

Essential HTML Entities

Character Numeric Entity Named Entity Character Name
      Non-Breaking Space
« « « Left Double-Angle Quote
» » » Right Double-Angle Quote
‹ ‹ Left Single-Angle Quote
› › Right Single-Angle Quote
“ “ Left Double Quote
” ” Right Double Quote
‘ ‘ Left Single Quote
’ ’ Right Single Quote
" " " Straight Quote
' ' ' Apostrophe
‚ ‚ Single Low Quote
„ „ Double Low Quote
< &#060; &lt; Left Angle Bracket
> &#062; &gt; Right Angle Bracket
&#8592; &larr; Left Arrow
&#8594; &rarr; Right Arrow
&#8593; &uarr; Up Arrow
&#8595; &darr; Down Arrow
&#8211; &ndash; En Dash
&#8212; &mdash; Em Dash
&#8254; &oline; Overline
¦ &#166; &brvbar; Broken Vertical Bar
® &#174; &reg; Registered Symbol
© &#169; &copy; Copyright Symbol
&#8482; &trade; Trademark Symbol
& &#38; &amp; Ampersand
&#8226; &bull; Bullet
· &#183; &middot; Middle Dot
¹ &#185; &sup1; Superscript 1
² &#178; &sup2; Superscript 2
³ &#179; &sup3; Superscript 3
¢ &#162; &cent; Cent Symbol
&#8224; &dagger; Single Dagger
&#8225; &Dagger; Double Dagger
~ &#126; &tilde; Tilde

Footnotes

1 Pro Tip: To ensure proper display of Unicode characters (i.e., UTF-8 encoded), add this meta declaration to the <head> of your web page(s):

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

About the Author
Jeff Starr = Creative thinker. Passionate about free and open Web.
Banhammer: Protect your WordPress site against threats.
Welcome
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
Blackhole Pro: Trap bad bots in a virtual black hole.
Thoughts
I live right next door to the absolute loudest car in town. And the owner loves to drive it.
8G Firewall now out of beta testing, ready for use on production sites.
It's all about that ad revenue baby.
Note to self: encrypting 500 GB of data on my iMac takes around 8 hours.
Getting back into things after a bit of a break. Currently 7° F outside. Chillz.
2024 is going to make 2020 look like a vacation. Prepare accordingly.
First snow of the year :)
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.