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

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - Waver

Tabbing problems in Firefox in Mac OS X [转] Data Flow Diagrams Tutorial [转] 也谈完美跨域,JavaScript [转] - Waver 浏览器类型检测. (JavaScript) 【转】 Route命令使用详解[转] 使用塑料水瓶要当心 Extension Method for ENUM. Design Material Websites Summarization. - Waver How to cut through the complexity to find a solution. - Waver How to install flash player on Google Chrome browser? - Waver ADODB.Stream 对象的属性与方法 - Waver VB/VBScript读取和保存UTF-8文件方案 - Waver 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
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.

&quot; " Double quote &amp; & 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;