[Index of Lessons]
[Lesson 8] [Lesson 10]

9. Special Characters

Accent Marks
Sometime you may need to use a special character in an HTML document, an accent or diacritical mark. The ones that are recognized as known as ISO These special characters are marked in HTML as:
&xxxx;
or it can be written as
&#xxxx;

where xxxx is the code name for the special character, and with #xxxx is the decimal equivalent of the name. Below is a large table listing all of the HTML code used for special chracters. If you can't see them, then your browser/system doesn't accept the ISO character set. Notice in the list,that &nbsp appear not to have a result, well it's result is a white space. There are also © and ® symbols available.
It is of importance that each &xxx tag ends with a semi colon ; as the latest browsers understand this method.
Accent Marks
HTML Decimal Result HTML Decimal Result
" 34 " & 38 &
&lt; 60 < &gt; 62 >
&nbsp; 160   &iexcl; 161 ¡
&cent; 162 ¢ &pound; 163 £
&curren; 164 ¤ &yen; 165 ¥
&brvbar; 166 ¦ &sect; 167 §
&uml; 168 ¨ &copy; 169 ©
&ordf; 170 ª &laquo; 171 «
&not; 172 ¬ &shy; 173 ­
&reg; 174 ® &macr; 175 ¯
&deg; 176 ° &plusmn; 177 ±
&sup2; 178 ² &sup3; 179 ³
&acute; 180 ´ &micro; 181 µ
&para; 182 &middot; 183 ·
&cedil; 184 ¸ &sup1; 185 ¹
&ordm; 186 º &raquo; 187 »
&frac14; 188 ¼ &frac12; 189 ½
&frac34; 190 ¾ &iquest; 191 ¿
&Agrave; 192 À &Aacute; 193 Á
&Acirc; 194 Â &Atilde; 195 Ã
&Auml; 196 Ä &Aring; 197 Å
&AElig; 198 Æ &Ccedil; 199 Ç
&Egrave; 200 È &Eacute; 201 É
&Ecirc; 202 Ê &Euml; 203 Ë
&Igrave; 204 Ì &Iacute; 205 Í
&Icirc; 206 Î &Iuml; 207 Ï
&ETH; 208 Ð &Ntilde; 209 Ñ
&Ograve; 210 Ò &Oacute; 211 Ó
&Ocirc; 212 Ô &Otilde; 213 Õ
&Ouml; 214 Ö &times; 215 ×
&Oslash; 216 Ø &Ugrave; 217 Ù
&Uacute; 218 Ú &Ucric; 219 Û
&Uuml; 220 Ü &Yacute; 221 Ý
&THORN; 222 Þ &szlig; 223 ß
&agrave; 224 à &aacute; 225 á
&acirc; 226 â &atilde; 227 ã
&auml; 228 ä &aring; 229 å
&aelig; 230 æ &ccedil; 231 ç
&egrave; 232 è &eacute; 233 é
&ecirc; 234 ê &euml; 235 ë
&igrave; 236 ì &iacute; 237 í
&icirc; 238 î &iuml; 239 ï
&eth; 240 ð &ntilde; 241 ñ
&ograve; 242 ò &oacute; 243 ó
&ocirc; 244 ô &otilde; 245 õ
&ouml; 246 ö &divide; 247 ÷
&oslash; 248 ø &ugrave; 249 ù
&uacute; 250 ú &icirc; 251 û
&uuml; 252 ü &yacute; 253 ý
&thorn; 254 þ &yuml; 255 ÿ
You write the code as it is shown to give you the differing characters, ie &copy gives you ©. It's just like typing in a normal tag, but you don't have to include the < or > tags. An important thing to note is that the code used to implement these characters is Case Sensitive. What this means is that thorn and THORN are two different characters, eg :
&THORN = Þ
&thorn = þ

Just remember this when you are typing in any special commands.
Click on Lesson 10 to continue, or click here (Top) to return to the top of document