Thursday, June 21, 2012
HTML Entity Reference for Common Characters
http://www.impressivewebs.com/html-entity-reference-common/
Name Character Entity Numeric
Copyright © © ©
Registered ® ® ®
Trademark ™ ™
Curly Open Double Quote “ “
Curly Closed Double Quote ” ”
Curly Open Single Quote ‘ ‘
Curly Closed Single Quote ’ ’
Big Bullet/Dot • •
Small Bullet/Dot · · ·
Square Dot ⋅ ⋅ ⋅
En Dash – –
Em Dash — —
Cents ¢ ¢ ¢
Pound (Currency) £ £ £
Euro (Currency) € € €
Not Equal To ≠ ≠ ≠
Half (Fraction) ½ ½ ½
Quarter (Fraction) ¼ ¼ ¼
Three-Quarters (Fraction) ¾ ¾ ¾
Degrees ° ° °
Left Arrow ← ← ←
Right Arrow → → →
Up Arrow ↑ ↑ ↑
Down Arrow ↓ ↓ ↓
Lowercase “e”, Grave Accent è è è
Lowercase “e”, Acute Accent é é é
Lowercase “c”, Cedilla ç ç ç
Ellipse … … …
Triangle Down ▼ (none) ▼
Triangle Up ▲ (none) ▲
Triangle Left ◀ (none) ◀
Triangle Right ▶ (none) ▶
Name Character Entity Numeric
Final Notes
In HTML5, as far as I understand, you could technically just copy and paste the character right into your document and it will validate just fine (and as pointed out in the comments, this is the strongly preferred method). If you’re concerned about how these characters are handled when entered into a database or form, then you might want to check out this article on Smashing Magazine, along with the comments.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment