Difference between revisions of "HTML entity"
Jump to navigation
Jump to search
(→Entities by Appearance: arrows) |
(→Entities by Appearance: more updates & corrections) |
||
(One intermediate revision by the same user not shown) | |||
Line 31: | Line 31: | ||
* 14-31 are not translated | * 14-31 are not translated | ||
* 32 is a standard space | * 32 is a standard space | ||
+ | |||
{| width=100% | {| width=100% | ||
! colspan=3 style="border-bottom: 1px solid blue;" | lower ASCII || colspan=4 style="border-bottom: 1px solid green;" | upper ASCII | ! colspan=3 style="border-bottom: 1px solid blue;" | lower ASCII || colspan=4 style="border-bottom: 1px solid green;" | upper ASCII | ||
Line 73: | Line 74: | ||
{| | {| | ||
− | | | + | {{show/entity/row|#65}} |
− | + | {{show/entity/row|#66}} | |
− | + | {{show/entity/row|#67}} | |
− | | | + | {{show/entity/row|#68}} |
− | + | {{show/entity/row|#69}} | |
− | | | + | {{show/entity/row|#70}} |
− | + | {{show/entity/row|#71}} | |
− | | | + | {{show/entity/row|#72}} |
− | + | {{show/entity/row|#73}} | |
− | | | + | {{show/entity/row|#74}} |
− | + | {{show/entity/row|#75}} | |
− | | | + | {{show/entity/row|#76}} |
− | + | {{show/entity/row|#77}} | |
− | | | + | {{show/entity/row|#78}} |
− | + | {{show/entity/row|#79}} | |
− | | | + | {{show/entity/row|#80}} |
− | + | {{show/entity/row|#81}} | |
− | | | + | {{show/entity/row|#82}} |
− | + | {{show/entity/row|#83}} | |
− | | | + | {{show/entity/row|#84}} |
− | + | {{show/entity/row|#85}} | |
− | | | + | {{show/entity/row|#86}} |
− | + | {{show/entity/row|#87}} | |
− | | | + | {{show/entity/row|#88}} |
− | + | {{show/entity/row|#89}} | |
− | | | + | {{show/entity/row|#90}} |
− | + | {{show/entity/row|#91}} | |
− | | | + | {{show/entity/row|#92}} |
− | + | {{show/entity/row|#93}} | |
− | | | + | {{show/entity/row|#94}} |
− | + | {{show/entity/row|#95}} | |
− | | | + | {{show/entity/row|#96}} |
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
|} | |} | ||
Line 142: | Line 111: | ||
{| | {| | ||
− | | | + | {{show/entity/row|#97}} |
− | + | {{show/entity/row|#98}} | |
− | + | {{show/entity/row|#99}} | |
− | | | + | {{show/entity/row|#100}} |
− | + | {{show/entity/row|#101}} | |
− | | | + | {{show/entity/row|#102}} |
− | + | {{show/entity/row|#103}} | |
− | | | + | {{show/entity/row|#104}} |
− | + | {{show/entity/row|#105}} | |
− | | | + | {{show/entity/row|#106}} |
− | + | {{show/entity/row|#107}} | |
− | | | + | {{show/entity/row|#108}} |
− | + | {{show/entity/row|#109}} | |
− | | | + | {{show/entity/row|#110}} |
− | + | {{show/entity/row|#111}} | |
− | | | + | {{show/entity/row|#112}} |
− | + | {{show/entity/row|#113}} | |
− | | | + | {{show/entity/row|#114}} |
− | + | {{show/entity/row|#115}} | |
− | | | + | {{show/entity/row|#116}} |
− | + | {{show/entity/row|#117}} | |
− | | | + | {{show/entity/row|#118}} |
− | + | {{show/entity/row|#119}} | |
− | | | + | {{show/entity/row|#120}} |
− | + | {{show/entity/row|#121}} | |
− | | | + | {{show/entity/row|#122}} |
− | + | {{show/entity/row|#123}} | |
− | | | + | {{show/entity/row|#124}} |
− | + | {{show/entity/row|#125}} | |
− | | | + | {{show/entity/row|#126}} |
− | + | {{show/entity/row|#127}} | |
− | | | + | {{show/entity/row|#128}} |
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
|} | |} | ||
Line 211: | Line 148: | ||
{| | {| | ||
− | | | + | {{show/entity/row|#129}} |
− | + | {{show/entity/row|#130}} | |
− | + | {{show/entity/row|#131}} | |
− | | | + | {{show/entity/row|#132}} |
− | + | {{show/entity/row|#133}} | |
− | | | + | {{show/entity/row|#134}} |
− | + | {{show/entity/row|#135}} | |
− | | | + | {{show/entity/row|#136}} |
− | + | {{show/entity/row|#137}} | |
− | | | + | {{show/entity/row|#138}} |
− | + | {{show/entity/row|#139}} | |
− | | | + | {{show/entity/row|#140}} |
− | + | {{show/entity/row|#141}} | |
− | | | + | {{show/entity/row|#142}} |
− | + | {{show/entity/row|#143}} | |
− | | | + | {{show/entity/row|#144}} |
− | + | {{show/entity/row|#145}} | |
− | | | + | {{show/entity/row|#146}} |
− | + | {{show/entity/row|#147}} | |
− | | | + | {{show/entity/row|#148}} |
− | + | {{show/entity/row|#149}} | |
− | | | + | {{show/entity/row|#150}} |
− | + | {{show/entity/row|#151}} | |
− | | | + | {{show/entity/row|#152}} |
− | + | {{show/entity/row|#153}} | |
− | | | + | {{show/entity/row|#154}} |
− | + | {{show/entity/row|#155}} | |
− | | | + | {{show/entity/row|#156}} |
− | + | {{show/entity/row|#157}} | |
− | | | + | {{show/entity/row|#158}} |
− | + | {{show/entity/row|#159}} | |
− | | | + | {{show/entity/row|#160}} |
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
|} | |} | ||
Line 280: | Line 185: | ||
{| | {| | ||
− | | | + | {{show/entity/row|#161}} |
− | + | {{show/entity/row|#162}} | |
− | + | {{show/entity/row|#163}} {{show/entity|pound}} | |
− | | | + | {{show/entity/row|#164}} |
− | + | {{show/entity/row|#165}} | |
− | | | + | {{show/entity/row|#166}} |
− | + | {{show/entity/row|#167}} | |
− | | | + | {{show/entity/row|#168}} |
− | + | {{show/entity/row|#169}} | |
− | | | + | {{show/entity/row|#170}} |
− | + | {{show/entity/row|#171}} | |
− | | | + | {{show/entity/row|#172}} |
− | + | {{show/entity/row|#173}} | |
− | | | + | {{show/entity/row|#174}} |
− | + | {{show/entity/row|#175}} | |
− | | | + | {{show/entity/row|#176}} |
− | | | + | {{show/entity/row|#177}} |
− | + | {{show/entity/row|#178}} | |
− | + | {{show/entity/row|#179}} | |
− | | | + | {{show/entity/row|#180}} |
− | + | {{show/entity/row|#181}} | |
− | | | + | {{show/entity/row|#182}} |
− | + | {{show/entity/row|#183}} | |
− | | | + | {{show/entity/row|#184}} |
− | | | + | {{show/entity/row|#185}} |
− | + | {{show/entity/row|#186}} | |
− | + | {{show/entity/row|#187}} | |
− | | | + | {{show/entity/row|#188}} |
− | | | + | {{show/entity/row|#189}} |
− | + | {{show/entity/row|#190}} | |
− | | | + | {{show/entity/row|#191}} |
− | + | {{show/entity/row|#192}} {{show/entity|Agrave}} | |
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | | | ||
− | |||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | | | ||
− | |||
− | |||
− | | | ||
− | | | ||
− | |||
− | | | ||
− | |||
|} | |} | ||
Line 349: | Line 222: | ||
{| | {| | ||
− | | | + | {{show/entity/row|#193}} {{show/entity|Aacute}} |
− | + | {{show/entity/row|#194}} | |
− | + | {{show/entity/row|#195}} {{show/entity|Atilde}} | |
− | | | + | {{show/entity/row|#196}} {{show/entity|Auml}} |
− | + | {{show/entity/row|#197}} | |
− | | | + | {{show/entity/row|#198}} {{show/entity|AElig}} |
− | + | {{show/entity/row|#199}} {{show/entity|Ccedil}} | |
− | | | + | {{show/entity/row|#200}} |
− | + | {{show/entity/row|#201}} | |
− | | | + | {{show/entity/row|#202}} |
− | + | {{show/entity/row|#203}} | |
− | | | + | {{show/entity/row|#204}} |
− | + | {{show/entity/row|#205}} | |
− | | | + | {{show/entity/row|#206}} |
− | + | {{show/entity/row|#207}} | |
− | | | + | {{show/entity/row|#208}} |
− | | | + | {{show/entity/row|#209}} |
− | + | {{show/entity/row|#210}} | |
− | + | {{show/entity/row|#211}} | |
− | | | + | {{show/entity/row|#212}} |
− | + | {{show/entity/row|#213}} | |
− | | | + | {{show/entity/row|#214}} |
− | + | {{show/entity/row|#215}} | |
− | | | + | {{show/entity/row|#216}} |
− | + | {{show/entity/row|#217}} | |
− | | | + | {{show/entity/row|#218}} |
− | + | {{show/entity/row|#219}} | |
− | | | + | {{show/entity/row|#220}} |
− | + | {{show/entity/row|#221}} | |
− | | | + | {{show/entity/row|#222}} |
− | + | {{show/entity/row|#223}} | |
− | | | + | {{show/entity/row|#224}} |
− | | | ||
− | |||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | | | ||
− | |||
− | |||
− | | | ||
− | | | ||
− | |||
− | | | ||
− | |||
− | |||
− | | | ||
− | |||
− | | | ||
− | | | ||
− | |||
− | | | ||
− | |||
|} | |} | ||
Line 418: | Line 259: | ||
{| | {| | ||
− | | | + | {{show/entity/row|#225}} |
− | + | {{show/entity/row|#226}} | |
− | + | {{show/entity/row|#227}} | |
− | | | + | {{show/entity/row|#228}} |
− | + | {{show/entity/row|#229}} | |
− | | | + | {{show/entity/row|#230}} |
− | + | {{show/entity/row|#231}} {{show/entity|ccedil}} | |
− | | | + | {{show/entity/row|#232}} |
− | + | {{show/entity/row|#233}} | |
− | | | + | {{show/entity/row|#234}} |
− | + | {{show/entity/row|#235}} | |
− | | | + | {{show/entity/row|#236}} |
− | + | {{show/entity/row|#237}} | |
− | | | + | {{show/entity/row|#238}} |
− | + | {{show/entity/row|#239}} | |
− | | | + | {{show/entity/row|#240}} |
− | | | + | {{show/entity/row|#241}} |
− | + | {{show/entity/row|#242}} | |
− | + | {{show/entity/row|#243}} | |
− | | | + | {{show/entity/row|#244}} |
− | + | {{show/entity/row|#245}} | |
− | | | + | {{show/entity/row|#246}} |
− | + | {{show/entity/row|#247}} | |
− | | | + | {{show/entity/row|#248}} |
− | | | + | {{show/entity/row|#249}} |
− | + | {{show/entity/row|#250}} | |
− | + | {{show/entity/row|#251}} | |
− | | | + | {{show/entity/row|#252}} |
− | | | + | {{show/entity/row|#253}} |
− | + | {{show/entity/row|#254}} {{show/entity|thorn}} | |
− | | | + | {{show/entity/row|#255}} |
− | + | {{show/entity/row|#256}} | |
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | | | ||
− | |||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | | | ||
− | |||
− | |||
− | | | ||
− | | | ||
− | |||
− | | | ||
− | |||
|} | |} | ||
|} | |} | ||
+ | ===Notes=== | ||
+ | * '''2024-08-31''' <code>™</code> used to map to {{show/entity|trade}}. That is either browser-specific or is no longer the case. | ||
+ | |||
==Entities by Appearance== | ==Entities by Appearance== | ||
* {{show/entity|larr}} - left arrow | * {{show/entity|larr}} - left arrow | ||
Line 490: | Line 302: | ||
* {{show/entity|lsquo}} - left single-quote | * {{show/entity|lsquo}} - left single-quote | ||
* {{show/entity|rsquo}} - right single-quote | * {{show/entity|rsquo}} - right single-quote | ||
+ | * {{show/entity|trade}} - trademark symbol (as superscript) | ||
+ | * {{show/entity|copy}} - copyright-circle symbol | ||
+ | * {{show/entity|reg}} - registered-circle symbol | ||
* {{show/entity|Alpha}} - Greek letter alpha (upper) | * {{show/entity|Alpha}} - Greek letter alpha (upper) | ||
* {{show/entity|Beta}} - Greek letter beta (upper) | * {{show/entity|Beta}} - Greek letter beta (upper) | ||
Line 508: | Line 323: | ||
|- | |- | ||
| | | | ||
− | | {{show/entity|#257}} - '''a''' with macron | + | | {{show/entity|#257}} - '''a''' with {{l/wp|Macron (diacritic)|macron}} |
|- | |- | ||
| | | | ||
− | | {{show/entity|#259}} - '''a''' with {{l/ | + | | {{show/entity|#259}} - '''a''' with {{l/wp|caron}} |
|- | |- | ||
− | | {{show/entity|#268}} - '''C''' with {{l/ | + | | {{show/entity|#268}} - '''C''' with {{l/wp|caron}} |
− | | {{show/entity|#269}} - '''c''' with {{l/ | + | | {{show/entity|#269}} - '''c''' with {{l/wp|caron}} |
− | |||
|} | |} | ||
+ | ===Notes=== | ||
+ | * '''2024-08-31''' {{show/entity|Ccaron}} and {{show/entity|ccaron}} are apparently no longer supported, if they ever existed and were not just a figment of my imagination. | ||
==Links== | ==Links== | ||
* {{wikipedia|List of XML and HTML character entity references}} - a more complete list | * {{wikipedia|List of XML and HTML character entity references}} - a more complete list |
Latest revision as of 21:28, 31 August 2024
About
An HTML entity is a combination of characters which will be displayed within an HTML browser as a single character. All HTML entities begin with "&" (ampersand) and end with ";" (semicolon). Many entities have mnemonic names (such as "&", which displays an ampersand); any possible character can be displayed as an entity by using the format "&#number;" where number is the output character's ASCII value in decimal.
see also: wikipedia:Percent-encoding
Reference
- Wikipedia
- HTML 4.0 entities
- Named character references, in alphabetical order, including newer ones not supported by most browsers
- HTML Entity List: "Complete list of HTML entities with their numbers and names. Also included is a full list of ASCII characters that can be represented in HTML (i.e. printable characters)."
Questions
- Does Google resolve html entities when indexing web pages? That is, if I spelled a word (e.g. "schmerglefrotz") entirely using html entities, would someone be able to find that page using google by typing "schmerglefrotz" (after the site had been spidered, of course)? (As a test, I will spell a completely different word using HTML entities, and try Googling it later: FRELGKLOTZ)
- 2007-07-15 answer: Yes, it does find it (though it took several months at least before this page got indexed).
- 2016-11-28 answer: Searching for the word in question no longer produces any results. Neither does searching for "schmerglefrotz".
Note
- 2017-11-11 MediaWiki 1.28.0 apparently no longer supports the "&#d;" style of entity; you now have to use named entities.
- 2020-05-23 This seems to have been fixed?
Entities by Number
- 0-8 are not translated
- 9 is probably TAB
- 10 is probably LF
- 13 is probably CR
- 14-31 are not translated
- 32 is a standard space
lower ASCII | upper ASCII | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
Notes
- 2024-08-31
™
used to map to™
: ™. That is either browser-specific or is no longer the case.
Entities by Appearance
←
: ← - left arrow→
: → - right arrow‘
: ‘ - left single-quote’
: ’ - right single-quote™
: ™ - trademark symbol (as superscript)©
: © - copyright-circle symbol®
: ® - registered-circle symbolΑ
: Α - Greek letter alpha (upper)Β
: Β - Greek letter beta (upper)Γ
: Γ - Greek letter gamma (upper)Δ
: Δ - Greek letter delta (upper)α
: α - Greek letter alpha (lower)β
: β - Greek letter beta (lower)γ
: γ - Greek letter gamma (lower)δ
: δ - Greek letter delta (lower)
Roman alphabet
upper | lower | mnemonics |
---|---|---|
Á : Á - A with acute accent
|
á : á - a with acute accent
|
Á : Á á : á
|
ā : ā - a with macron
| ||
ă : ă - a with caron
| ||
Č : Č - C with caron
|
č : č - c with caron
|
Notes
- 2024-08-31
Č
: Č andč
: č are apparently no longer supported, if they ever existed and were not just a figment of my imagination.
Links
- Wikipedia - a more complete list