HTML Entities

Proper declaration in HTML files

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8"/>
</head>
Header 1 Header 2
Data 1 Data 2

Punctuation

Name Entity Sample
Left Single Quote &lsquo; ‘
Right Single Quote &rsquo; ’
Left Double Quote &ldquo; “
Right Double Quote &rdquo; ”
Single Low Quote &sbquo; ‚
Double Low Quote &bdquo; „
Prime &prime; ′
Double Prime &Prime; ″

Spaces and Breaks

Name Entity Sample
Non-Breaking Space &nbsp;  
En Space &ensp;  
Em Space &emsp;  
Thin Space &thinsp;  
Zero-Width Space &#8203; ​
Word Joiner &#8288; ⁠

Dashes and Hyphens

Name Entity Sample
Em Dash &mdash; —
En Dash &ndash; –
Hyphen &hyphen; ‐
Minus Sign &minus; −

Mathematical Symbols

Name Entity Sample
Plus-Minus &plusmn; ±
Multiplication &times; ×
Division &divide; ÷
Not Equal &ne; ≠
Less Than or Equal &le; ≤
Greater Than or Equal &ge; ≥
Infinity &infin; ∞

Currency Symbols

Name Entity Sample
Pound &pound; £
Euro &euro; €
Cent &cent; ¢
Yen &yen; ¥
Name Entity Sample
Copyright &copy; ©
Registered Trademark &reg; ®
Trademark &trade; ™
Section &sect; §
Paragraph &para;

Arrows and Directional Symbols

Name Entity Sample
Left Arrow &larr; ←
Right Arrow &rarr; →
Up Arrow &uarr; ↑
Down Arrow &darr; ↓
Double Left Arrow &lArr; ⇐
Double Right Arrow &rArr; ⇒

Common Accented Characters

Name Entity Sample
á &aacute; á
é &eacute; é
í &iacute; í
ó &oacute; ó
ú &uacute; ú
ñ &ntilde; ñ
ü &uuml; ü

Misc.

  • To come