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.
-
Á
- Display capital A, acute accent (Á).
-
á
- Display small a, acute accent (á).
-
Â
- Display capital A, circumflex accent (Â).
-
â
- Display small a, circumflex accent (â).
-
Æ
- Display capital AE diphthong (ligature) (Æ).
-
æ
- Display small ae diphthong (ligature) (æ).
-
À
- Display capital A, grave accent (À).
-
à
- Display small a, grave accent (à).
-
&
- Display ampersand (&).
-
Å
- Display capital A, ring (Å).
-
å
- Display small a, ring (å).
-
Ã
- Display capital A, tilde (Ã).
-
ã
- Display small a, tilde (ã).
-
Ä
- Display capital A, dieresis or umlaut mark (Ä).
-
ä
- Display small a, dieresis or umlaut mark (ä).
-
Ç
- Display capital C, cedilla (Ç).
-
ç
- Display capital c, cedilla (ç).
-
É
- Display capital E, acute accent (É).
-
é
- Display small e, acute accent (é).
-
Ê
- Display capital E, circumflex accent (Ê).
-
ê
- Display small e, circumflex accent (ê).
-
È
- Display capital E, grave accent (È).
-
è
- Display small e, grave accent (è).
-
Ð
- Display capital Eth, Icelandic (Ð).
-
ð
- Display small eth, Icelandic (ð).
-
Ë
- Display capital E, dieresis or umlaut mark (Ë).
-
ë
- Display small e, dieresis or umlaut mark (ë).
-
>
- Display greater than sign (>).
-
<
- Display less than sign (<).
-
Í
- Display capital I, acute accent (Í).
-
í
- Display small i, acute accent (í).
-
Î
- Display capital I, circumflex accent (Î).
-
î
- Display small i, circumflex accent (î).
-
Ì
- Display capital I, grave accent (Ì).
-
ì
- Display small i, grave accent (ì).
-
Ï
- Display capital I, dieresis or umlaut mark (Ï).
-
ï
- Display small i, dieresis or umlaut mark (ï).
-
- Display non-breaking space ( ).
-
Ñ
- Display capital N, tilde (Ñ).
-
ñ
- Display small n, tilde (ñ).
-
Ó
- Display capital O, acute accent (Ó).
-
ó
- Display small o, acute accent (ó).
-
Ô
- Display capital O, circumflex accent (Ô).
-
ô
- Display small o, circumflex accent (ô).
-
Ò
- Display capital O, grave accent (Ò).
-
ò
- Display small o, grave accent (ò).
-
Ø
- Display capital O, slash (Ø).
-
ø
- Display small o, slash (ø).
-
Õ
- Display capital O, tilde (Õ).
-
õ
- Display small o, tilde (õ).
-
Ö
- Display capital O, dieresis or umlaut mark (Ö).
-
ö
- Display small o, dieresis or umlaut mark (ö).
-
"
- Display double quote (").
-
ß
- Display small sharp s, German (sz ligature) (ß).
-
Þ
- Display capital THORN, Icelandic (Þ).
-
þ
- Display small thorn, Icelandic (þ).
-
Ú
- Display capital U, acute accent (Ú).
-
ú
- Display small u, acute accent (ú).
-
Û
- Display capital U, acute accent (Ú).
-
û
- Display small u, circumflex accent (û).
-
Ù
- Display capital U, grave accent (Ù).
-
ù
- Display small u, grave accent (ù).
-
Ü
- Display capital U, dieresis or umlaut mark (Ü).
-
ü
- Display small u, dieresis or umlaut mark (ü).
-
Ý
- Display capital Y, acute accent (Ý).
-
ý
- Display small y, acute accent (ý).
-
ÿ
- Display small y, dieresis or umlaut mark (ÿ).
Earle Goodman
goodman@ucdavis.edu