1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 19:39:57 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/wikitext/HTML Entities.tid

67 lines
4.0 KiB
Plaintext
Raw Normal View History

created: 20130204165019000
modified: 20221025124615415
tags: WikiText
title: HTML Entities
type: text/vnd.tiddlywiki
!! 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...
* [[Mozilla Developer Network -- Entities|https://developer.mozilla.org/en-US/docs/Glossary/Entity]]
* [[HTML Spec official list -- Entities|https://html.spec.whatwg.org/multipage/named-characters.html#named-character-references]]
!! Examples Of Common And Useful Entities
|>|>|>|>|>|>| ! HTML Entities |
|   |   | no-break space |    | ' | ' | 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 |h
|`Ä` |Ä | `Äpfel` |Äpfel |
|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>| ! Accented Characters |
| grave accent | &_grave; | À | à | È | è | Ì | ì | Ò | ò | Ù | ù |   |   |   |   |   |   |
| acute accent | &_acute; | Á | á | É | é | Í | í | Ó | ó | Ú | ú |   |   | Ý | ý |   |   |
| circumflex accent | &_circ; | Â | â | Ê | ê | Î | î | Ô | ô | Û | û |   |   |   |   |   |   |
| umlaut mark | &_uml; | Ä | ä | Ë | ë | Ï | ï | Ö | ö | Ü | ü |   |   | Ÿ | ÿ |   |   |
| tilde | &_tilde; | Ã | ã |   |   |   |   | Õ | õ |   |   | Ñ | ñ |   |   |   |   |
| ring | &_ring; | Å | å |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| slash | &_slash; |   |   |   |   |   |   | Ø | ø |   |   |   |   |   |   |   |   |
| cedilla | &_cedil; |   |   |   |   |   |   |   |   |   |   |   |   |   |   | Ç | ç |