Difference between revisions of "HTML entity"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(→‎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

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

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
&#33; !
&#34; "
&#35; #
&#36; $
&#37; %
&#38; & &amp; : &
&#39; '
&#40; (
&#41; )
&#42; *
&#43; +
&#44; ,
&#45; -
&#46; .
&#47; /
&#48; 0
&#49; 1
&#50; 2
&#51; 3
&#52; 4
&#53; 5
&#54; 6
&#55; 7
&#56; 8
&#57; 9
&#58; :
&#59; ;
&#60; <
&#61; =
&#62; >
&#63; ?
&#64; @
&#65; A
&#66; B
&#67; C
&#68; D
&#69; E
&#70; F
&#71; G
&#72; H
&#73; I
&#74; J
&#75; K
&#76; L
&#77; M
&#78; N
&#79; O
&#80; P
&#81; Q
&#82; R
&#83; S
&#84; T
&#85; U
&#86; V
&#87; W
&#88; X
&#89; Y
&#90; Z
&#91; [
&#92; \
&#93; ]
&#94; ^
&#95; _
&#96; `
&#97; a
&#98; b
&#99; c
&#100; d
&#101; e
&#102; f
&#103; g
&#104; h
&#105; i
&#106; j
&#107; k
&#108; l
&#109; m
&#110; n
&#111; o
&#112; p
&#113; q
&#114; r
&#115; s
&#116; t
&#117; u
&#118; v
&#119; w
&#120; x
&#121; y
&#122; z
&#123; {
&#124;
&#125; }
&#126; ~
&#127; &#127;
&#128; &#128;
&#129; &#129;
&#130; &#130;
&#131; &#131;
&#132; &#132;
&#133; &#133;
&#134; &#134;
&#135; &#135;
&#136; &#136;
&#137; &#137;
&#138; &#138;
&#139; &#139;
&#140; &#140;
&#141; &#141;
&#142; &#142;
&#143; &#143;
&#144; &#144;
&#145; &#145;
&#146; &#146;
&#147; &#147;
&#148; &#148;
&#149; &#149;
&#150; &#150;
&#151; &#151;
&#152; &#152;
&#153; &#153;
&#154; &#154;
&#155; &#155;
&#156; &#156;
&#157; &#157;
&#158; &#158;
&#159; &#159;
&#160;  
&#161; ¡
&#162; ¢
&#163; £ &pound; : £
&#164; ¤
&#165; ¥
&#166; ¦
&#167; §
&#168; ¨
&#169; ©
&#170; ª
&#171; «
&#172; ¬
&#173; ­
&#174; ®
&#175; ¯
&#176; °
&#177; ±
&#178; ²
&#179; ³
&#180; ´
&#181; µ
&#182;
&#183; ·
&#184; ¸
&#185; ¹
&#186; º
&#187; »
&#188; ¼
&#189; ½
&#190; ¾
&#191; ¿
&#192; À &Agrave; : À
&#193; Á &Aacute; : Á
&#194; Â
&#195; Ã &Atilde; : Ã
&#196; Ä &Auml; : Ä
&#197; Å
&#198; Æ &AElig; : Æ
&#199; Ç &Ccedil; : Ç
&#200; È
&#201; É
&#202; Ê
&#203; Ë
&#204; Ì
&#205; Í
&#206; Î
&#207; Ï
&#208; Ð
&#209; Ñ
&#210; Ò
&#211; Ó
&#212; Ô
&#213; Õ
&#214; Ö
&#215; ×
&#216; Ø
&#217; Ù
&#218; Ú
&#219; Û
&#220; Ü
&#221; Ý
&#222; Þ
&#223; ß
&#224; à
&#225; á
&#226; â
&#227; ã
&#228; ä
&#229; å
&#230; æ
&#231; ç &ccedil; : ç
&#232; è
&#233; é
&#234; ê
&#235; ë
&#236; ì
&#237; í
&#238; î
&#239; ï
&#240; ð
&#241; ñ
&#242; ò
&#243; ó
&#244; ô
&#245; õ
&#246; ö
&#247; ÷
&#248; ø
&#249; ù
&#250; ú
&#251; û
&#252; ü
&#253; ý
&#254; þ &thorn; : þ
&#255; ÿ
&#256; Ā

Notes

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

Entities by Appearance

  • &larr; : - left arrow
  • &rarr; : - right arrow
  • &lsquo; : - left single-quote
  • &rsquo; : - right single-quote
  • &Alpha; : Α - Greek letter alpha (upper)
  • &Beta; : Β - Greek letter beta (upper)
  • &Gamma; : Γ - Greek letter gamma (upper)
  • &Delta; : Δ - Greek letter delta (upper)
  • &alpha; : α - Greek letter alpha (lower)
  • &beta; : β - Greek letter beta (lower)
  • &gamma; : γ - Greek letter gamma (lower)
  • &delta; : δ - Greek letter delta (lower)

Roman alphabet

upper lower mnemonics
&#193; : Á - A with acute accent &#225; : á - a with acute accent &Aacute; : Á &aacute; : á
&#257; : ā - a with macron
&#259; : ă - a with caron
&#268; : Č - C with caron &#269; : č - c with caron &Ccaron; : &Ccaron; &ccaron; : &ccaron;

Links