☀️ Summer Sale! Save 35% on Pro Plugins & Books w/ code SUMMER
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 = Fullstack Developer. Book Author. Teacher. Human Being.
REST Pro Tools: Granular control of the WP REST API
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 »
Banhammer: Protect your WordPress site against threats.
Thoughts
The Office is Cheers with more irony.
More fine-grained control of macOS screen brightness: hold down Option + Shift before pressing either of the brightness keys. You get 64 increments instead of the usual 16.
REST Pro Tools featured in David McCan’s new video on locking down WordPress.
Gonna try exercise.
Launching my new plugin, REST Pro Tools 🛠️ Granular control of the WP REST API.
The algorithm is way too hypersensitive.
Working on a new pro WP plugin :)
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.