Bookmark and Share

htmlentities

[ website development ]

HTML Entities

Brief introduction

HTML Entities (special characters) are a must when building websites. Characters such as ©, é, &, ø, ü may exist on your keyboard, but that doesn't mean you can just type them into your HTML even though it usually works for your and your freinds since your local language settings are properly similar, but what about the rest of the world...China, The U.S., scandinavia - should it not work for them aswell?

If you guessed "yes!" then you were right. Start using those entities, so © instead of ©,   é   instead of   é   and so on. Pretty simple once you just make a habbit of it.

Below you can see a complete list (according to the PHP software anyway) generated and outputed dynamicly with PHP in-case you are wondering.

CharsHTML entities
   
¡ ¡
¢ ¢
£ £
¤ ¤
¥ ¥
¦ ¦
§ §
¨ ¨
© ©
ª ª
« «
¬ ¬
­ ­
® ®
¯ ¯
° °
± ±
² ²
³ ³
´ ´
µ µ
¶
· ·
¸ ¸
¹ ¹
º º
» »
¼ ¼
½ ½
¾ ¾
¿ ¿
À À
Á Á
 Â
à Ã
Ä Ä
Å Å
Æ Æ
Ç Ç
È È
É É
Ê Ê
Ë Ë
Ì Ì
Í Í
Î Î
Ï Ï
Ð Ð
Ñ Ñ
Ò Ò
Ó Ó
Ô Ô
Õ Õ
Ö Ö
× ×
Ø Ø
Ù Ù
Ú Ú
Û Û
Ü Ü
Ý Ý
Þ Þ
ß ß
à à
á á
â â
ã ã
ä ä
å å
æ æ
ç ç
è è
é é
ê ê
ë ë
ì ì
í í
î î
ï ï
ð ð
ñ ñ
ò ò
ó ó
ô ô
õ õ
ö ö
÷ ÷
ø ø
ù ù
ú ú
û û
ü ü
ý ý
þ þ
ÿ ÿ
" "
< &lt;
> &gt;
& &amp;