版本 |
年份 |
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>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
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>
原文:http://www.cnblogs.com/9999w/p/4381942.html