HTML Entities
Typographic Punctuation |
|||
| Character | Description | HTML entity no. | HTML entity name |
|---|---|---|---|
| — | em-dash | — | — |
The em dash is the length of the point size of the font being used. So, for a 12pt font, the em dash is 12 points. Do not use a hyphen instead of an em-dash! The hyphen has only two uses:
The em dash is used:
|
|||
| – | en-dash | – | – |
The en dash is half the length of the point size of the font being used. So, for a 12pt font, the em dash is 6 points. Do not use a hyphen instead of an en-dash! The hyphen has only two uses:
The en dash is used:
|
|||
| ‘ | left single quote | ‘ | ‘ |
Straight quotes and apostrophes ( ' " ) were designed to reduce the number of keys on the keyboard. Don’t use them! |
|||
| ’ | right single quote, apostrophe | ’ | ’ |
Straight quotes and apostrophes ( ' " ) were designed to reduce the number of keys on the keyboard. Don’t use them! |
|||
| “ | left double quote | “ | “ |
Straight quotes and apostrophes ( ' " ) were designed to reduce the number of keys on the keyboard. Don’t use them! |
|||
| ” | right double quote | ” | ” |
Straight quotes and apostrophes ( ' " ) were designed to reduce the number of keys on the keyboard. Don’t use them! |
|||
| … | ellipsis | … | … |
Use an ellipsis (instead of three fullstops) to:
|
|||
Mathematical Notation |
|||
| Character | Description | HTML entity no. | HTML entity name |
| − | minus | − | − |
Never use the keyboard hyphen for a minus. A minus is thicker, to match the equals sign. |
|||
| × | times | × | × |
Never use the keyboard ‘x’ for the ‘times’ symbol. |
|||
| ½ | half | ½ | ½ |
Use HTML entities for fractions. Many exist. Just Google them: ⅔ ⅗ ⅝… To write complicated fractions, like 39⁄43, you can use: <sup>39</sup>⁄<sub>43</sub> |
|||
Ligatures |
|||
| Ligature | Instead of... | HTML entity no. | |
| ff | ff | ff | |
| fi | fi | fi | |
| fl | fl | fl | |
| ffi | ffi | ffi | |
| ffl | ffl | ffl | |
| st | st | st | |