HTML Index


This is an index of the codes used in HTML (HyperText Markup Language). I have gathered information from a variety of sources, but a lot of this is directly from the HTML Quick Reference.


<!-- text -->
Comment text out of the HTML code.
<A ATTRIBUTE> picture/text </A>;
Adds an anchor to picture/text. Possible ATTRIBUTEs are:
HREF="#anchor_name"
Link this to anchor_name within this document.
HREF="URL"
Link this to URL.
HREF="URL#anchor_name"
Link this to anchor_name within URL.
HREF="URL?search_string"
Link this to search for search_string within URL.
METHODS
NAME="anchor_name"
Make an anchor at this spot that is called anchor_name.
REL
REV
TITLE
URN
<ADDRESS> address </ADDRESS>
Present address information.
<B> text </B>
Makes text bold.
<BASE>
Specify the name of file in which the current document is stored. This is usually placed in the head of the document.
<BLOCKQUOTE> . . . </BLOCKQUOTE>
Defines a secton as being quoted from another source.
<BODY> . . . </BODY>
Defines the body of an HTML document.
<BR>
Force a line break, (use two for a blank line).
<CITE> . . . </CITE>
Cite some material.
<CODE> . . . </CODE>
Display this as HTML code.
<DD> definition
Display a definition in a definition list or glossary. See <DL> and <DT>. (Commonly used to make lists without bullets or numbers).
<DFN> definition </DFN>
Display a definition.
<DIR> . . . </DIR>
Display a directory of items. (Usually headed by bullets.) See <LI>.
<DL> . . . </DL>
Make a definition list or glossary. See <DD> and <DT>. (Commonly used to make lists without bullets or numbers).
<DT> term
Display a term in a definition list or glossary. See <DD> and <DL>.
<EM> text </EM>
Make text text have emphasis.
<FORM ATTRIBUTE> . . . </FORM>
Define an online form. The information is sent to a query server to search for or collect information for a database. See <INPUT>, <OPTION>, <SELECT>, and <TEXTAREA>. Possible ATTRIBUTEs are:
ACTION="URL"
The URL of the query server.
METHOD=method
The method used by form, either get or post.
<H1> text </H1>
Make text header style 1. The most prominent header style.
<H2> text </H2>
Make text header style 2.
<H3> text </H3>
Make text header style 3.
<H4> text </H4>
Make text header style 4.
<H5> text </H5>
Make text header style 5.
<H6> text </H6>
Make text header style 6. The least prominent header style.
<HEAD> . . . </HEAD>
Defines the head of an HTML document.
<HR>
Place a horizontal rule, or separator between sections of text.
<HTML> . . . </HTML>
Defines an HTML document.
<I> text </I>
Make text italic.
<IMG ATTRIBUTE>
Load an inline image (on browsers that support it). Possible ATTRIBUTEs are:
ALIGN=alignment
How to align the picture with the text, possible alignments are top, middle, or bottom.
ALT="text"
Alternative text if browser does not support images, or image cannot be loaded.
ISMAP
SRC="URL"
The URL of the image.
<ISINDEX>
Specify index file. This is usually placed in the head of the document.
<KBD> key </KBD>
Display key as a key from the keyboard.
<LI> item
Display item in a list. See <DIR>, <MENU>, <OL>, and <UL>.
<LINK ATTRIBUTE>
Specify relationships to other documents. This is usually placed in the head of the document. Possible ATTRIBUTEs are:
REV=relationship
The relationship of this file to the other one. The relevant relationship is made.
HREF="URL"
The URL of the file pointed to by the link.
<LISTING> . . . </LISTING>
Define as a computer listing, embedded tags will be ignored.
<MENU> . . . </MENU>
Display a menu of items. (Usually headed by bullets.) See <LI>.
<NEXTID>
Set a variable name. Attribute: variable name. This is usually placed in the head of the document.
<OL> . . . </OL>
Display an ordered list or glossary. (Headed by numbers.) See <LI>.
<P> . . . </P>
Define this area as a paragraph, and format accordingly.
<PLAINTEXT> . . . </PLAINTEXT>
Define this area as plain text.
<PRE> . . . </PRE>
Define this area as preformatted text, and display as is. May include some tags.
<SAMP> . . . </SAMP>
Make sample output.
<STRONG> text </STRONG>
Make text text have strong emphasis.
<TITLE> title </TITLE>
Define the title of the document. Note this is not a header. This is usually placed in the head of the document.
<TT> text </TT>
Display text in a typewriter text.
<U> text </U>
Display text underlined.
<UL> . . . </UL>
Display an unordered list or glossary. (Usually headed by bullets.) See <LI>.
&#ascii;
Display ASCII character corresponding to ascii.
&Aacute;
Display capital A, acute accent (Á).
&aacute;
Display small a, acute accent (á).
&Acirc;
Display capital A, circumflex accent (Â).
&acirc;
Display small a, circumflex accent (â).
&AElig;
Display capital AE diphthong (ligature) (Æ).
&aelig;
Display small ae diphthong (ligature) (æ).
&Agrave;
Display capital A, grave accent (À).
&agrave;
Display small a, grave accent (à).
&amp;
Display ampersand (&).
&Aring;
Display capital A, ring (Å).
&aring;
Display small a, ring (å).
&Atilde;
Display capital A, tilde (Ã).
&atilde;
Display small a, tilde (ã).
&Auml;
Display capital A, dieresis or umlaut mark (Ä).
&auml;
Display small a, dieresis or umlaut mark (ä).
&Ccedil;
Display capital C, cedilla (Ç).
&ccedil;
Display capital c, cedilla (ç).
&Eacute;
Display capital E, acute accent (É).
&eacute;
Display small e, acute accent (é).
&Ecirc;
Display capital E, circumflex accent (Ê).
&ecirc;
Display small e, circumflex accent (ê).
&Egrave;
Display capital E, grave accent (È).
&egrave;
Display small e, grave accent (è).
&ETH;
Display capital Eth, Icelandic (Ð).
&eth;
Display small eth, Icelandic (ð).
&Euml;
Display capital E, dieresis or umlaut mark (Ë).
&euml;
Display small e, dieresis or umlaut mark (ë).
&gt;
Display greater than sign (>).
&lt;
Display less than sign (<).
&Iacute;
Display capital I, acute accent (Í).
&iacute;
Display small i, acute accent (í).
&Icirc;
Display capital I, circumflex accent (Î).
&icirc;
Display small i, circumflex accent (î).
&Igrave;
Display capital I, grave accent (Ì).
&igrave;
Display small i, grave accent (ì).
&Iuml;
Display capital I, dieresis or umlaut mark (Ï).
&iuml;
Display small i, dieresis or umlaut mark (ï).
&nbsp;
Display non-breaking space ( ).
&Ntilde;
Display capital N, tilde (Ñ).
&ntilde;
Display small n, tilde (ñ).
&Oacute;
Display capital O, acute accent (Ó).
&oacute;
Display small o, acute accent (ó).
&Ocirc;
Display capital O, circumflex accent (Ô).
&ocirc;
Display small o, circumflex accent (ô).
&Ograve;
Display capital O, grave accent (Ò).
&ograve;
Display small o, grave accent (ò).
&Oslash;
Display capital O, slash (Ø).
&oslash;
Display small o, slash (ø).
&Otilde;
Display capital O, tilde (Õ).
&otilde;
Display small o, tilde (õ).
&Ouml;
Display capital O, dieresis or umlaut mark (Ö).
&ouml;
Display small o, dieresis or umlaut mark (ö).
&quot;
Display double quote (").
&szlig;
Display small sharp s, German (sz ligature) (ß).
&THORN;
Display capital THORN, Icelandic (Þ).
&thorn;
Display small thorn, Icelandic (þ).
&Uacute;
Display capital U, acute accent (Ú).
&uacute;
Display small u, acute accent (ú).
&Ucirc;
Display capital U, acute accent (Ú).
&ucirc;
Display small u, circumflex accent (û).
&Ugrave;
Display capital U, grave accent (Ù).
&ugrave;
Display small u, grave accent (ù).
&Uuml;
Display capital U, dieresis or umlaut mark (Ü).
&uuml;
Display small u, dieresis or umlaut mark (ü).
&Yacute;
Display capital Y, acute accent (Ý).
&yacute;
Display small y, acute accent (ý).
&yuml;
Display small y, dieresis or umlaut mark (ÿ).

Earle Goodman
goodman@ucdavis.edu