Special characters

December 2016

Special character codings

HTML standards require all code to be written in 7-bit ASCII, which means that accented characters are not allowed. Despite this, current browsers recognise accented characters; you can enter accented characters directly in your text editor, but your page will be unreadable in most countries. To code an accented character, enter a certain string which begins with an ampersand (&) and ends with a semi-colon (;). Here is a list of HTML representations for ASCII characters from 128 to 255:


Character ISO Code HTML Code
"""
&&&
€€
 
‚‚ 
Æ’ƒ 
„„ 
…… 
†† 
‡‡ 
ˆˆ 
‰‰ 
Å Š 
‹‹<
Å’Œ 
 
ŽŽ 
 
 
‘‘ 
’’ 
““ 
”” 
•• 
–– 
—— 
Ëœ˜ 
â„¢™ 
Å¡š 
››>
Å“œœ
 
žž 
ŸŸŸ
Space  
¡¡¡
¢¢¢
£££
¤¤¤
¥¥&yen
¦¦¦
§§§
¨¨¨
©©©   
ªªª
«««
¬¬¬
­­­
®®®
¯¯&masr;
°°°
±±±
²²²
³³³
´´´
µµµ
¶¶
···
¸¸¸
¹¹¹
ººº
»»»
¼¼¼
½½½
¾¾¾
¿¿¿
ÀÀÀ
ÁÁÁ
ÂÂÂ
ÃÃÃ
ÄÄÄ
ÅÅÅ
Æ&#198&Aelig
ÇÇÇ
ÈÈÈ
ÉÉÉ
ÊÊÊ
ËËË
ÌÌÌ
ÍÍÍ
ÎÎÎ
ÏÏÏ
ÐÐð
ÑÑÑ
ÒÒÒ
ÓÓÓ
ÔÔÔ
ÕÕÕ
ÖÖÖ
×××
ØØØ
ÙÙÙ
ÚÚÚ
ÛÛÛ
ÜÜÜ
ÝÝÝ
ÞÞþ
ßßß
ààà
ááá
âââ
ããã
äää
ååå
æææ
ççç
èèè
ééé
êêê
ëëë
ììì
ííí
îîî
ïïï
ððð
ñññ
òòò
óóó
ôôô
õõõ
ööö
÷÷÷
øøø
ùùù
úúú
ûûû
üüü
ýýý
þþþ
ÿÿÿ

Encoding HTML symbols

The characters <, >, " and & are used very frequently in HTML markup. The character < is especially important, as the browser interprets it as the opening of a new HTML tag. When these characters are used in text on a website, they must be coded in HTML as given below; otherwise the browser may display the page incorrectly.

Character ISO Code HTML Code
"&#34;&quot;
&&#38;&amp;
‹&#139;&lt;
›&#155;&gt;

Related :


Caracteres especiales
Caracteres especiales
Caractères spéciaux HTML
Caractères spéciaux HTML
This document entitled « Special characters » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.