惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
P
Privacy International News Feed
T
Tenable Blog
L
Lohrmann on Cybersecurity
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Threat Research - Cisco Blogs
S
Securelist
C
CXSECURITY Database RSS Feed - CXSecurity.com
Cisco Talos Blog
Cisco Talos Blog
T
The Exploit Database - CXSecurity.com
S
Schneier on Security
P
Privacy & Cybersecurity Law Blog
Vercel News
Vercel News
Cyberwarzone
Cyberwarzone
月光博客
月光博客
T
The Blog of Author Tim Ferriss
Scott Helme
Scott Helme
爱范儿
爱范儿
Stack Overflow Blog
Stack Overflow Blog
C
Cisco Blogs
aimingoo的专栏
aimingoo的专栏
博客园 - 司徒正美
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
P
Proofpoint News Feed
A
Arctic Wolf
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
L
LangChain Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
阮一峰的网络日志
阮一峰的网络日志
Simon Willison's Weblog
Simon Willison's Weblog
T
Tor Project blog
Security Latest
Security Latest
Blog — PlanetScale
Blog — PlanetScale
G
GRAHAM CLULEY
V
Vulnerabilities – Threatpost
博客园 - 三生石上(FineUI控件)
I
InfoQ
Spread Privacy
Spread Privacy
B
Blog RSS Feed
Microsoft Azure Blog
Microsoft Azure Blog
S
SegmentFault 最新的问题
云风的 BLOG
云风的 BLOG
Last Week in AI
Last Week in AI
MongoDB | Blog
MongoDB | Blog
C
CERT Recently Published Vulnerability Notes
A
About on SuperTechFans
博客园_首页
Engineering at Meta
Engineering at Meta
Project Zero
Project Zero
Latest news
Latest news

博客园 - Waver

Tabbing problems in Firefox in Mac OS X [转] Data Flow Diagrams Tutorial [转] 也谈完美跨域,JavaScript [转] 浏览器类型检测. (JavaScript) 【转】 Route命令使用详解[转] 使用塑料水瓶要当心 Extension Method for ENUM. Design Material Websites Summarization. - Waver How to cut through the complexity to find a solution. How to install flash player on Google Chrome browser? ADODB.Stream 对象的属性与方法 VB/VBScript读取和保存UTF-8文件方案 VB6: How To Convert UTF-8 Byte Arrays into Unicode Strings (and vice versa) Perl和OLE Automation Perl Unicode全攻略 ASP+COM 组件开发 SQL高级语法 无法去掉“关闭高级语言服务”解决方案! GCT 英语单词全部核心词汇A-Z GCT 工硕英语词汇语法
HTML Ampersand Character Codes
Waver · 2009-11-04 · via 博客园 - Waver

These are character sequences that may appear in HTML documents; they represent sometimes useful symbols that are not part of the standard ASCII set or that would be difficult or impossible to type otherwise (e.g. the less-than sign, which would always be mistaken for the beginning of an HTML tag). Case is signinficant.

The content of this table has been throughly tested.
If the character that appears in the first column does not fit the description in the third column,
your browser has a screw loose.

" " Double quote
& & Ampersand ("and" sign)
&lt; < Less-than
&gt; > Greater-than
&nbsp; un-linebreak-able space
&iexcl; ¡ Upside-down !
&cent; ¢ Cent sign (c crossed out)
&pound; £ Pound sign: the currency symbol
not the tic-tac-toe telephone symbol, which is incorrectly called "pound".
&curren; ¤ circle with dashes at NE, SE, SW, and NW
&yen; ¥ Y crossed out
&brvbar; ¦ Vertical line, maybe with gap in middle
&sect; § Section sign (like hurricane symbol on weather maps)
&uml; ¨ Two dots up in the air
&copy; © Copyright sign (C in a circle)
&ordf; ª lower case "a" up in the air
&laquo; « Two small less-than signs: the German open-quote
&not; ¬ Not sign from classical logic
&shy; "Soft" hyphen: a dash
&reg; ® Registered sign (R in a circle)
&macr; ¯ Macron (horizontal line up in the air)
&deg; ° Degree sign
&plusmn; ± Plus-or-minus sign
&sup2 ² 2 up in the air
&sup3; ³ 3 up in the air
&acute; ´ Little dash pointing to North-East
&micro; µ Micro sign, lower case Greek Mu
&para; Paragraph sign (mirror image capital P with two legs and a black eye)
&middot; · Decimal Point (English style, mid-level)
&cedil; ¸ Small sickle shape, low down
&sup1; ¹ 1 up in the air
&ordm; º lower case "o" up in the air
&raquo; » Two small greater-than signs: the German close-quote
&frac14; ¼ One quarter
&frac12; ½ One half
&frac34; ¾ Three quarters
&iquest; ¿ Upside-down ?
&times; × Times sign: narrow x without serifs
&divide; ÷ Division sign: a colon : with a dash through it
&ETH; Ð Old English voiced "Th", "D" with dash through upright
&eth; ð Old Englished voiced "th": bendy "d" with dash through tail
&THORN; Þ Old English unvoiced "Th": "P" but loop has slipped down
&thorn; þ Old English unvoiced "th": smaller version of the above
&AElig; Æ "A" and "E" in a ligature, as in ENCYCLOPAEDIA
&aelig; æ "a" and "e" in a ligature, as in "encyclopaedia"
&OElig; Œ "O" and "E" in a ligature, as in MANOEUVRE
&oelig; œ "o" and "e" in a ligature, as in "manoeuvre"
&Aring; Å "A" with a little circle above: Angstrom sign
&Oslash; Ø "O" with diagonal line through: Empty set sign
&Ccedil; Ç "C" with cedilla (sickle shape) underneath
&ccedil; ç "c" with cedilla (sickle shape) underneath
&szlig; ß German "sz" ligature, like a lower case Greek Beta
&Ntilde; Ñ N with wiggle on top
&ntilde; ñ n with wiggle on top

Accents and things

Accents on letters are available in all sorts of (but not every possible) combination.
The accents available are:

  • Acute: little dash on top, pointing to North-East,
  • Grave: little dash on top, pointing to North-West,
  • Circumflex: like a roof on top of the letter,
  • Umlaut: two dots on top, could also be used as a dieresis,
  • Tilde: wiggle on top,
  • Ring: circle on top, touching the letter.

They can appear on capital and lower case versions of A, E, I, O, U, and Y.
Some consonants also have similar marks, but they are listed in the first table.

The HTML "character entities" are made by combining four elements:

  1. an ampersand "&",
  2. the letter to be accented, either capital or lower case,
  3. the abbreviation for the desired accent:
    Acute=acute, Grave=grave, Circumflex=circ, Unlaut=uml, Dieresis=uml, Tilde=tilde, Ring=ring
  4. a semicolon ";"

Example: for a capital E with a grave accent use

&Egrave;

The following table attempts all the combinations so you can see which work. I have marked with the abbreviation "std" all those that supposed to be there, so you should be able to rely on their presence, but you know what browsers are like.

A acute Á std
A grave À std
A circ  std
A uml Ä std
A tilde à std
A ring Å std
a acute á std
a grave à std
a circ â std
a uml ä std
a tilde ã std
a ring å std
E acute É std
E grave È std
E circ Ê std
E uml Ë std
E tilde &Etilde;
E ring &Ering;
e acute é std
e grave è std
e circ ê std
e uml ë std
e tilde &etilde;
e ring &ering;
I acute Í std
I grave Ì std
I circ Î std
I uml Ï std
I tilde &Itilde;
I ring &Iring;
i acute í std
i grave ì std
i circ î std
i uml ï std
i tilde &itilde;
i ring &iring;
O acute Ó std
O grave Ò std
O circ Ô std
O uml Ö std
O tilde Õ std
O ring &Oring;
o acute ó std
o grave ò std
o circ ô std
o uml ö std
o tilde õ std
o ring &oring;
U acute Ú std
U grave Ù std
U circ Û std
U uml Ü std
U tilde &Utilde;
U ring &Uring;
u acute ú std
u grave ù std
u circ û std
u uml ü std
u tilde &utilde;
u ring &uring;
Y acute Ý std
Y grave &Ygrave;
Y circ &Ycirc;
Y uml Ÿ std
Y tilde &Ytilde;
Y ring &Yring;
y acute ý std
y grave &ygrave;
y circ &ycirc;
y uml ÿ std
y tilde &ytilde;
y ring &yring;