Answers Search Help
Boston University home page
HTML: Intermediate
 
 
    Site Management
 
 
    Linking
 
 
 
 
 
 
    HTML Lists
 
 
 
 
    Tables
 
 
 
 
 
 
    Special Characters
 
 
    Supplementary
 
 
 
    Also See
   
   
   

Special and Extended Characters

HTML uses several keyboard characters to interpret the markup language. These include the ampersand, double quotes, and open and close angle brackets. To display these characters (and others) on a page without the Web browser software interpreting them as HTML code, use the following keystroke combinations.

rule

& (AMPERSAND)

This code is used for entering an ampersand. Note that this is NOT a tag. The opening and closing carats are not required. Strict HTML forbids the use of the shift-7 (keyboard) ampersand alone in HTML, because the ampersand character by itself indicates the beginning of HTML code.

& - singular code

rule

" (DOUBLE QUOTE MARKS)

This code is used for entering quote marks. Note that this is NOT a tag. The opening and closing carats are not required. Strict HTML requires you to not use the shift-apostrophe (keyboard) quotes in HTML, because they are reserved for variables inside HTML code tags.

" - singular code

rule

  (NOBREAK SPACE)

This code is used for entering a no-break space. Note that this is NOT a tag. The opening and closing carats are not required. This is used to space text manually, where required.

  - singular code

rule

More special characters

Many more special characters are available in HTML by using the ampersand/semi-colon code combination. Some of these include:

&lt; - an open angle bracket <
&gt; - a close angle bracket >
&copy; - a copyright symbol ©
&#174; - a registered symbol ®
&#153; - a trademark symbol ™
&#188; - the fraction ¼
&#189; - the fraction ½
&#190; - the fraction ¾

In addition to these special characters, there is a complete set of uppercase and lowercase letters with accents, tildes, cedillas, umlauts, dipthongs, circumflexes, etc. Some of these are:

&aacute; - a with acute accent á
&eacute; - e with acute accent é
&ccedil; - c with cedilla ç
&ouml; - o with umlaut ö
&ntilde; - n with tilde ñ
&egrave; - e with grave accent è
&Aacute; - A with acute accent Á
&Eacute; - E with acute accent É
&Ccedil; - C with cedilla Ç
&Ouml; - O with umlaut Ö
&Ntilde; - N with tilde Ñ
&Egrave; - E with grave accent È

A complete list of all special and extended characters is maintained on the TeamWeb site at the University of Texas at Austin.

 

WebCentral Using Publishing Learning Training Consulting WebCentral
Answers Search Help
NIS  |  OIT  |  Boston University  |   January 9, 2007