1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-05 01:26:18 +00:00
TiddlyWiki5/editions/tw2/source/tiddlywiki.com/tiddlywiki-com/HtmlEntities.tid
2012-11-16 21:20:27 +00:00

38 lines
3.4 KiB
Plaintext

title: HtmlEntities
modifier: jermolene
created: 20110211110642
modified: 20110211162157
tags: formatting
creator: psd
Entities in HTML documents allow characters to be entered that can't easily be typed on an ordinary keyboard. They take the form of an ampersand (&), an identifying string, and a terminating semi-colon (;). There's a complete reference [[here|http://www.htmlhelp.com/reference/html40/entities/]]; some of the more common and useful ones are shown below.
|>|>|>|>|>|>| !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 |
The table below shows how accented characters can be built up by subsituting a base character into the various accent entities in place of the underscore ('_'):
|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>| !Accented Characters |
| grave accent | &_grave; | À | à | È | è | Ì | ì | Ò | ò | Ù | ù |   |   |   |   |   |   |
| acute accent | &_acute; | Á | á | É | é | Í | í | Ó | ó | Ú | ú |   |   | Ý | ý |   |   |
| circumflex accent | &_circ; | Â | â | Ê | ê | Î | î | Ô | ô | Û | û |   |   |   |   |   |   |
| umlaut mark | &_uml; | Ä | ä | Ë | ë | Ï | ï | Ö | ö | Ü | ü |   |   | Ÿ | ÿ |   |   |
| tilde | &_tilde; | Ã | ã |   |   |   |   | Õ | õ |   |   | Ñ | ñ |   |   |   |   |
| ring | &_ring; | Å | å |   |   |   |   |   |   |   |   |   |   |   |   |   |
| slash | &_slash; |   |   |   |   |   |   | Ø | ø |   |   |   |   |   |   |   |
| cedilla | &_cedil; |   |   |   |   |   |   |   |   |   |   |   |   |   |   | Ç | ç |