26th July 2024 at 7:48am
Summary
Use HTML entities to enter characters that cannot easily be typed on an ordinary keyboard. They take the form of an ampersand (&), an identifying string, and a terminating semi-colon (;), e.g. & for the & character.
Markup
The value of Tiddlers™ cannot even be expressed in £, € or $.Displays as:
The value of Tiddlers™ cannot even be expressed in £, € or $.
Entity References
Comprehensive lists of html entities can be found at...
Examples Of Common And Useful Entities
| HTML Entities | ||||||
|---|---|---|---|---|---|---|
| | no-break space | |||||
| ⁠ | | zerro width WordJoiner | ' | ' | single quote, apostrophe | |
| – | – | en dash | " | " | quotation mark | |
| — | — | em dash | ′ | ′ | prime; minutes; feet | |
| … | … | horizontal ellipsis | ″ | ″ | double prime; seconds; inches | |
| © | © | Copyright symbol | ‘ | ‘ | left single quote | |
| ® | ® | Registered symbol | ’ | ’ | right single quote | |
| ™ | ™ | Trademark symbol | “ | “ | left double quote | |
| † | † | dagger | ” | ” | right double quote | |
| ‡ | ‡ | double dagger | « | « | left angle quote | |
| ¶ | ¶ | paragraph sign | » | » | right angle quote | |
| § | § | section sign | × | × | multiplication symbol | |
| ↑ | ↑ | up arrow | ↓ | ↓ | down arrow | |
| ← | ← | left arrow | → | → | right arrow | |
| ⇐ | ⇐ | double left arrow | ⇒ | ⇒ | double right arrow | |
| ↔ | ↔ | left right arrow | ⇔ | ⇔ | double left right arrow | |
Accented Characters
The table below shows how accented characters can be built up by substituting the underscore (_) in the second table into the corresponding character. eg:
| Code | Character | Example | Result |
Ä | Ä | Äpfel | Äpfel |
| Accented Characters | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| grave accent | &_grave; | À | à | È | è | Ì | ì | Ò | ò | Ù | ù | ||||||
| acute accent | &_acute; | Á | á | É | é | Í | í | Ó | ó | Ú | ú | Ý | ý | ||||
| circumflex accent | &_circ; | Â | â | Ê | ê | Î | î | Ô | ô | Û | û | ||||||
| umlaut mark | &_uml; | Ä | ä | Ë | ë | Ï | ï | Ö | ö | Ü | ü | Ÿ | ÿ | ||||
| tilde | &_tilde; | Ã | ã | Õ | õ | Ñ | ñ | ||||||||||
| ring | &_ring; | Å | å | ||||||||||||||
| slash | &_slash; | Ø | ø | ||||||||||||||
| cedilla | &_cedil; | Ç | ç | ||||||||||||||