html-----013----实体字符/HTML URL 编码
<!DOCTYPE> 声明
版本 |
年份 |
HTML |
1991 |
HTML+ |
1993 |
HTML 2.0 |
1995 |
HTML 3.2 |
1997 |
HTML 4.01 |
1999 |
XHTML 1.0 |
2000 |
HTML5 |
2012 |
XHTML5 |
2013 |
带有 HTML5 DOCTYPE 的 HTML 文档:
<!DOCTYPE html>
HTML 4.01
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
XHTML 1.0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
HTML 中的常用字符实体是不间断空格( )。
HTML 中有用的字符实体
注释:实体名称对大小写敏感!
<html> <!--------- HTML 中有用的字符实体 注释:实体名称对大小写敏感! 显示结果 描述 实体名称 实体编号 空格   < 小于号 < < > 大于号 > > & 和号 & & " 引号 " " ' 撇号 ' (IE不支持) ' ¢ 分 ¢ ¢ £ 镑 £ £ ¥ 日圆 ¥ ¥ € 欧元 € € § 小节 § § © 版权 © © ® 注册商标 ® ® ™ 商标 ™ ™ × 乘号 × × ÷ 除号 ÷ ÷ 结果 描述 实体名称 实体编号 " quotation mark " " ' apostrophe ' ' & ampersand & & < less-than < < > greater-than > > ISO 8859-1 符号实体 结果 描述 实体名称 实体编号 non-breaking space   ¡ inverted exclamation mark ¡ ¡ ¢ cent ¢ ¢ £ pound £ £ ¤ currency ¤ ¤ ¥ yen ¥ ¥ ¦ broken vertical bar ¦ ¦ § section § § ¨ spacing diaeresis ¨ ¨ © copyright © © ª feminine ordinal indicator ª ª « angle quotation mark (left) « « ¬ negation ¬ ¬ soft hyphen ­ ­ ® registered trademark ® ® ¯ spacing macron ¯ ¯ ° degree ° ° ± plus-or-minus ± ± ² superscript 2 ² ² ³ superscript 3 ³ ³ ´ spacing acute ´ ´ µ micro µ µ ¶ paragraph ¶ ¶ · middle dot · · ¸ spacing cedilla ¸ ¸ ¹ superscript 1 ¹ ¹ º masculine ordinal indicator º º » angle quotation mark (right) » » ¼ fraction 1/4 ¼ ¼ ½ fraction 1/2 ½ ½ ¾ fraction 3/4 ¾ ¾ ¿ inverted question mark ¿ ¿ × multiplication × × ÷ division ÷ ÷ ISO 8859-1 字符实体 结果 描述 实体名称 实体编号 À capital a, grave accent À À Á capital a, acute accent Á Á  capital a, circumflex accent   à capital a, tilde Ã Ã Ä capital a, umlaut mark Ä Ä Å capital a, ring Å Å Æ capital ae Æ Æ Ç capital c, cedilla Ç Ç È capital e, grave accent È È É capital e, acute accent É É Ê capital e, circumflex accent Ê Ê Ë capital e, umlaut mark Ë Ë Ì capital i, grave accent Ì Ì Í capital i, acute accent Í Í Î capital i, circumflex accent Î Î Ï capital i, umlaut mark Ï Ï Ð capital eth, Icelandic Ð Ð Ñ capital n, tilde Ñ Ñ Ò capital o, grave accent Ò Ò Ó capital o, acute accent Ó Ó Ô capital o, circumflex accent Ô Ô Õ capital o, tilde Õ Õ Ö capital o, umlaut mark Ö Ö Ø capital o, slash Ø Ø Ù capital u, grave accent Ù Ù Ú capital u, acute accent Ú Ú Û capital u, circumflex accent Û Û Ü capital u, umlaut mark Ü Ü Ý capital y, acute accent Ý Ý Þ capital THORN, Icelandic Þ Þ ß small sharp s, German ß ß à small a, grave accent à à á small a, acute accent á á â small a, circumflex accent â â ã small a, tilde ã ã ä small a, umlaut mark ä ä å small a, ring å å æ small ae æ æ ç small c, cedilla ç ç è small e, grave accent è è é small e, acute accent é é ê small e, circumflex accent ê ê ë small e, umlaut mark ë ë ì small i, grave accent ì ì í small i, acute accent í í î small i, circumflex accent î î ï small i, umlaut mark ï ï ð small eth, Icelandic ð ð ñ small n, tilde ñ ñ ò small o, grave accent ò ò ó small o, acute accent ó ó ô small o, circumflex accent ô ô õ small o, tilde õ õ ö small o, umlaut mark ö ö ø small o, slash ø ø ù small u, grave accent ù ù ú small u, acute accent ú ú û small u, circumflex accent û û ü small u, umlaut mark ü ü ý small y, acute accent ý ý þ small thorn, Icelandic þ þ ÿ small y, umlaut mark ÿ ÿ HTML 4.01 符号实体 本字符实体参考手册包括了数学符号、希腊字符、各种箭头记号、科技符号以及形状。 注释:实体名称对大小写敏感。 HTML 支持的数学符号 结果 描述 实体名称 实体编号 ∀ for all ∀ ∀ ∂ part ∂ ∂ ∃ exists &exists; ∃ ∅ empty ∅ ∅ ∇ nabla ∇ ∇ ∈ isin ∈ ∈ ∉ notin ∉ ∉ ∋ ni ∋ ∋ ∏ prod ∏ ∏ ∑ sum ∑ ∑ − minus − − ∗ lowast ∗ ∗ √ square root √ √ ∝ proportional to ∝ ∝ ∞ infinity ∞ ∞ ∠ angle ∠ ∠ ∧ and ∧ ∧ ∨ or ∨ ∨ ∩ cap ∩ ∩ ∪ cup ∪ ∪ ∫ integral ∫ ∫ ∴ therefore ∴ ∴ ∼ simular to ∼ ∼ ≅ approximately equal ≅ ≅ ≈ almost equal ≈ ≈ ≠ not equal ≠ ≠ ≡ equivalent ≡ ≡ ≤ less or equal ≤ ≤ ≥ greater or equal ≥ ≥ ⊂ subset of ⊂ ⊂ ⊃ superset of ⊃ ⊃ ⊄ not subset of ⊄ ⊄ ⊆ subset or equal ⊆ ⊆ ⊇ superset or equal ⊇ ⊇ ⊕ circled plus ⊕ ⊕ ⊗ cirled times ⊗ ⊗ ⊥ perpendicular ⊥ ⊥ ⋅ dot operator ⋅ ⋅ HTML 支持的希腊字母 结果 描述 实体名称 实体编号 Α Alpha Α Α Β Beta Β Β Γ Gamma Γ Γ Δ Delta Δ Δ Ε Epsilon Ε Ε Ζ Zeta Ζ Ζ Η Eta Η Η Θ Theta Θ Θ Ι Iota Ι Ι Κ Kappa Κ Κ Λ Lambda Λ Λ Μ Mu Μ Μ Ν Nu Ν Ν Ξ Xi Ξ Ξ Ο Omicron Ο Ο Π Pi Π Π Ρ Rho Ρ Ρ Sigmaf undefined Σ Sigma Σ Σ Τ Tau Τ Τ Υ Upsilon Υ Υ Φ Phi Φ Φ Χ Chi Χ Χ Ψ Psi Ψ Ψ Ω Omega Ω Ω α alpha α α β beta β β γ gamma γ γ δ delta δ δ ε epsilon ε ε ζ zeta ζ ζ η eta η η θ theta θ θ ι iota ι ι κ kappa κ κ λ lambda λ Λ μ mu μ μ ν nu ν Ν ξ xi ξ ξ ο omicron ο ο π pi π π ρ rho ρ ρ ς sigmaf ς ς σ sigma σ σ τ tau τ τ υ upsilon υ υ φ phi φ φ χ chi χ χ ψ psi ψ ψ ω omega ω ω ϑ theta symbol ϑ ϑ ϒ upsilon symbol ϒ ϒ ϖ pi symbol ϖ ϖ HTML 支持的其他实体 结果 描述 实体名称 实体编号 Œ capital ligature OE Œ Œ œ small ligature oe œ œ Š capital S with caron Š Š š small S with caron š š Ÿ capital Y with diaeres Ÿ Ÿ ƒ f with hook ƒ ƒ ˆ modifier letter circumflex accent ˆ ˆ ˜ small tilde ˜ ˜ en space     em space     thin space     zero width non-joiner ‌ ‌ zero width joiner ‍ ‍ left-to-right mark ‎ ‎ right-to-left mark ‏ ‏ – en dash – – — em dash — — ‘ left single quotation mark ‘ ‘ ’ right single quotation mark ’ ’ ‚ single low-9 quotation mark ‚ ‚ “ left double quotation mark “ “ ” right double quotation mark ” ” „ double low-9 quotation mark „ „ † dagger † † ‡ double dagger ‡ ‡ • bullet • • … horizontal ellipsis … … ‰ per mille ‰ ‰ ′ minutes ′ ′ ″ seconds ″ ″ ‹ single left angle quotation ‹ ‹ › single right angle quotation › › ‾ overline ‾ ‾ € euro € € ™ trademark ™ ™ ← left arrow ← ← ↑ up arrow ↑ ↑ → right arrow → → ↓ down arrow ↓ ↓ ↔ left right arrow ↔ ↔ ↵ carriage return arrow ↵ ↵ ⌈ left ceiling ⌈ ⌈ ⌉ right ceiling ⌉ ⌉ ⌊ left floor ⌊ ⌊ ⌋ right floor ⌋ ⌋ ◊ lozenge ◊ ◊ ♠ spade ♠ ♠ ♣ club ♣ ♣ ♥ heart ♥ ♥ ♦ diamond ♦ ♦ ------> </html>
HTML URL 编码
下面是用 URL 编码形式表示的 ASCII 字符(十六进制格式)。
十六进制格式用于在浏览器和插件中显示非标准的字母和字符。
URL 编码 - 从 %00 到 %8f
<html> ASCII Value URL-encode ASCII Value URL-encode ASCII Value URL-encode æ %00 0 %30 ` %60 %01 1 %31 a %61 %02 2 %32 b %62 %03 3 %33 c %63 %04 4 %34 d %64 %05 5 %35 e %65 %06 6 %36 f %66 %07 7 %37 g %67 backspace %08 8 %38 h %68 tab %09 9 %39 i %69 linefeed %0a : %3a j %6a %0b ; %3b k %6b %0c < %3c l %6c c return %0d = %3d m %6d %0e > %3e n %6e %0f ? %3f o %6f %10 @ %40 p %70 %11 A %41 q %71 %12 B %42 r %72 %13 C %43 s %73 %14 D %44 t %74 %15 E %45 u %75 %16 F %46 v %76 %17 G %47 w %77 %18 H %48 x %78 %19 I %49 y %79 %1a J %4a z %7a %1b K %4b { %7b %1c L %4c | %7c %1d M %4d } %7d %1e N %4e ~ %7e %1f O %4f %7f space %20 P %50 € %80 ! %21 Q %51 %81 " %22 R %52 ‚ %82 # %23 S %53 ƒ %83 $ %24 T %54 „ %84 % %25 U %55 … %85 & %26 V %56 † %86 ' %27 W %57 ‡ %87 ( %28 X %58 ˆ %88 ) %29 Y %59 ‰ %89 * %2a Z %5a Š %8a + %2b [ %5b ‹ %8b , %2c \ %5c Œ %8c - %2d ] %5d %8d . %2e ^ %5e Ž %8e / %2f _ %5f %8f URL 编码 - 从 %90 到 %ff ASCII Value URL-encode ASCII Value URL-encode ASCII Value URL-encode %90 À %c0 ð %f0 ‘ %91 Á %c1 ñ %f1 ’ %92  %c2 ò %f2 “ %93 à %c3 ó %f3 ” %94 Ä %c4 ô %f4 • %95 Å %c5 õ %f5 – %96 Æ %c6 ö %f6 — %97 Ç %c7 ÷ %f7 ˜ %98 È %c8 ø %f8 ™ %99 É %c9 ù %f9 š %9a Ê %ca ú %fa › %9b Ë %cb û %fb œ %9c Ì %cc ü %fc %9d Í %cd ý %fd ž %9e Î %ce þ %fe Ÿ %9f Ï %cf ÿ %ff %a0 Ð %d0 ¡ %a1 Ñ %d1 ¢ %a2 Ò %d2 £ %a3 Ó %d3 %a4 Ô %d4 ¥ %a5 Õ %d5 | %a6 Ö %d6 § %a7 %d7 ¨ %a8 Ø %d8 © %a9 Ù %d9 ª %aa Ú %da « %ab Û %db ¬ %ac Ü %dc ¯ %ad Ý %dd ® %ae Þ %de ¯ %af ß %df ° %b0 à %e0 ± %b1 á %e1 ² %b2 â %e2 ³ %b3 ã %e3 ´ %b4 ä %e4 µ %b5 å %e5 ¶ %b6 æ %e6 · %b7 ç %e7 ¸ %b8 è %e8 ¹ %b9 é %e9 º %ba ê %ea » %bb ë %eb ¼ %bc ì %ec ½ %bd í %ed ¾ %be î %ee ¿ %bf ï %ef </html>