Professional Documents
Culture Documents
Headings
Paragraphs
Lists
Character Formatting
Other Elements
Images
Tables
Frames
Structure Tags
<HTML>... Opens and closes all HTML documents.
</HTML>
<.../BODY>
Attributes:
BGCOLOR="..." Sets background colour.
TEXT="..." Sets colour of text.
LINK="..." Sets colour color of
unvisited links.
VLINK="..." Sets colour of visited
links.
Headings
<H1>...</H1> -- Used to set size of headings. Values of 1
<H6>...</H6> through 6; with 1 being the largest, 6 the
smallest.
Paragraphs
<P> Used to denote a plain paragraph.
Links
<A>....</A> Creates a link to another document or
anchor.
Attributes:
HREF"..." The URL of a document to
which a given document is
linked.
NAME"..." Denotes an anchor name.
Lists
<OL>...</OL> An ordered (numbered) list.
<UL>...</UL> An unordered (unnumbered), bulleted list.
<LI> A list item.
Character
Formatting
<B>...</B> Bold text.
<I>...</I> Italic text.
<U>...</U> Underlined text.
Other Elements
<!...> Comment - creates a comment which is not
displayed in browser - found in the
<BODY> tag.
<HR> A horizontal rule.
Attributes:
SIZE="..." The thickness of a rule in
pixels.
WIDTH="..." The width of the rule in
pixels or percent.
ALIGN="...." Possible values are LEFT,
RIGHT and CENTER.
NOSHADE Causes the rule to be drawn
as a solid black line.
Images
<IMG> Used to place an image into a document.
Attributes:
SRC="..." Information as to an
image's physical location.
ALT="..." Alternate text to be
displayed should an image
be missing, or images are
turned off in browser.
ALIGN="..." Determines horizontal
image alignment; either
LEFT or RIGHT.
VALIGN="..." Determines vertical image
alignment; either TOP,
MIDDLE, or BOTTOM.
WIDTH="..." The width in pixels of an
image.
HEIGHT="..." The height in pixels of the
image.
BORDER="..." Creates a border around a
linked image.
"BORDERCOLOR=" may
also be specified.
Tables
<TABLE>... Creates a table.
</TABLE> Attributes:
BORDER="...." Indicates whether a
table should have a
border. May also
specify a value
indicating the width
of a border.
CELLSPACING="..." Specifies amount of
space between cells
in a table.
WIDTH="..." Specifies width of a
table, either in pixels
or as a percentage.
Frames
<FRAMESET>... The main container for a frame document.
</FRAMESET> Attributes:
Index
| Lesson 1 | Lesson 2 | Lesson 3 | Lesson 4
| Lesson 5 | Lesson 6 | Lesson 7 | Lesson 8
HTML Reference Guide