html转义字符对照表
常用的html转义字符
字符 | 描述 | 实体名称 | 实体编号 |
---|---|---|---|
" | quotation mark(双引号“半角”) | " | " |
' | apostrophe (单引号‘半角’) | ' | ' |
& | ampersand(&连接号) | & | & |
< | less-than(小于号) | < | < |
> | greater-than(大于号) | > | > |
non-breaking space(空格) | |   | |
« | angle quotation mark (left) | « | « |
» | angle quotation mark (right) | » | » |
× | multiplication(乘号) | × | × |
字符 | 描述 | 实体名称 | 实体编号 |
---|---|---|---|
¡ | 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 | ÷ | ÷ |
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 支持的其他实体
字符 | 描述 | 实体名称 | 实体编号 |
---|---|---|---|
Œ | 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 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 | ♦ | ♦ |