Special Characters

In order to be able to display < and > escape symbols need to be used so that the browser doesn't misinterpret the code. A character entity is used so that special characters can be displayed. These consist of an ampersand(&), an entity name of a # and an entity code number and a semicolon(;). Examples of special characters include:-

  • Greater than
    • >
    • &gt
  • Less than
    • <
    • &lt
  • Ampersand
    • &
    • &amp
  • Space
    •  
    • &nbsp
  • Quotation mark
    • "
    • &quot
  • Copyright
    • ©
    • &copy

Accent Marks

Accent marks in HTML also use the escape symbol. Like the special characters accent marks start off with an ampersand & and then is followed by a letter. If the letter is uppercase then the symbol is going to be uppercase, if the symbol is lowercase then the symbol is going to be lowercase.

Accent Marks (Western European Language)
Symbol HTML Code Symbol HTML Code Symbol HTML Code Symbol HTML Code
à &agrave; á &aacute; â &acirc; ã &atilde;
ä &auml; å &aring; ç &ccedil; è &egrave;
é &eacute; ê &ecirc; ë &euml; ì &igrave;
í &iacute; î &icirc; ï &iuml; ñ &ntilde;
ò &ograve; ó &oacute; ô &ocirc; õ &otilde;
ö &ouml; ø &oslash; ù &ugrave; ú &uacute;
û &ucirc; ü &uuml;        




This is the end of this section, you can continue to the next section or try the exam to test your knowledge.
Click here to attempt the exam now.



Previous Page

Next Page

Go to top