HTML/entity: Difference between revisions

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Entities by Number: unified formatting; one update
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}}
| A  || A
{{show/entity/row|#66}}
|-
{{show/entity/row|#67}}
| B || B
{{show/entity/row|#68}}
|-
{{show/entity/row|#69}}
| C || C
{{show/entity/row|#70}}
|-
{{show/entity/row|#71}}
| D || D
{{show/entity/row|#72}}
|-
{{show/entity/row|#73}}
| E || E
{{show/entity/row|#74}}
|-
{{show/entity/row|#75}}
| F || F
{{show/entity/row|#76}}
|-
{{show/entity/row|#77}}
| G || G
{{show/entity/row|#78}}
|-
{{show/entity/row|#79}}
| H || H
{{show/entity/row|#80}}
|-
{{show/entity/row|#81}}
| I || I
{{show/entity/row|#82}}
|-
{{show/entity/row|#83}}
| J || J
{{show/entity/row|#84}}
|-
{{show/entity/row|#85}}
| K || K
{{show/entity/row|#86}}
|-
{{show/entity/row|#87}}
| L || L
{{show/entity/row|#88}}
|-
{{show/entity/row|#89}}
| M || M
{{show/entity/row|#90}}
|-
{{show/entity/row|#91}}
| N || N
{{show/entity/row|#92}}
|-
{{show/entity/row|#93}}
| O || O
{{show/entity/row|#94}}
|-
{{show/entity/row|#95}}
| P || P
{{show/entity/row|#96}}
|-
| Q || Q
|-
| R || R
|-
| S || S
|-
| T || T
|-
| U || U
|-
| V || V
|-
| W || W
|-
| X || X
|-
| Y || Y
|-
| Z || Z
|-
| [ || [
|-
| \ || \
|-
| ] || ]
|-
| ^ || ^
|-
| _ || _
|-
| ` || `
|}
|}


Line 142: Line 111:


{|
{|
|-
{{show/entity/row|#97}}
| a  || a
{{show/entity/row|#98}}
|-
{{show/entity/row|#99}}
| b || b
{{show/entity/row|#100}}
|-
{{show/entity/row|#101}}
| c || c
{{show/entity/row|#102}}
|-
{{show/entity/row|#103}}
| d || d
{{show/entity/row|#104}}
|-
{{show/entity/row|#105}}
| e || e
{{show/entity/row|#106}}
|-
{{show/entity/row|#107}}
| f || f
{{show/entity/row|#108}}
|-
{{show/entity/row|#109}}
| g || g
{{show/entity/row|#110}}
|-
{{show/entity/row|#111}}
| h || h
{{show/entity/row|#112}}
|-
{{show/entity/row|#113}}
| i || i
{{show/entity/row|#114}}
|-
{{show/entity/row|#115}}
| j || j
{{show/entity/row|#116}}
|-
{{show/entity/row|#117}}
| k || k
{{show/entity/row|#118}}
|-
{{show/entity/row|#119}}
| l || l
{{show/entity/row|#120}}
|-
{{show/entity/row|#121}}
| m || m
{{show/entity/row|#122}}
|-
{{show/entity/row|#123}}
| n || n
{{show/entity/row|#124}}
|-
{{show/entity/row|#125}}
| o || o
{{show/entity/row|#126}}
|-
{{show/entity/row|#127}}
| p || p
{{show/entity/row|#128}}
|-
| q || q
|-
| r || r
|-
| s || s
|-
| t || t
|-
| u || u
|-
| v || v
|-
| w || w
|-
| x || x
|-
| y || y
|-
| z || z
|-
| { || {
|-
| | || |
|-
| } || }
|-
| ~ || ~
|-
|  || 
|-
| € || €
|}
|}


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>&#153;</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

Revision as of 21:19, 31 August 2024

<hide> page type::article page type::reference thing type::character format </hide>

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 "&amp;", 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 (Character entity reference)
  • 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
Template:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entityTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/row
Template:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/row
Template:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/row
Template:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/row
Template:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entityTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity
Template:Show/entity/rowTemplate:Show/entityTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entityTemplate:Show/entity/rowTemplate:Show/entityTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entityTemplate:Show/entity/rowTemplate:Show/entityTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/row
Template:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entityTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entity/rowTemplate:Show/entityTemplate:Show/entity/rowTemplate:Show/entity/row

Notes

  • 2024-08-31 &#153; used to map to Template:Show/entity. That is either browser-specific or is no longer the case.

Entities by Appearance

Roman alphabet

upper lower mnemonics
Template:Show/entity - A with acute accent Template:Show/entity - a with acute accent Template:Show/entity Template:Show/entity
Template:Show/entity - a with macron
Template:Show/entity - a with Template:L/mw
Template:Show/entity - C with Template:L/mw Template:Show/entity - c with Template:L/mw Template:Show/entity Template:Show/entity
  • Wikipedia (List of XML and HTML character entity references) - a more complete list