Structure Tags
HTML Tag
This tag set defines the beginning and end of the entire document. All other tags
should appear within these tags.
<HTML VERSION=string> </HTML>
HEAD Tag
This tag set defines the beginning and end of the HEADING portion of the document. The
HEADING typically contains a TITLE tag and mete tags used for informational purposes
and search engines.
<HEAD> </HEAD>
BODY Tag
This tag set defines the beginning and end of the content portion of the document.
This is where the real data, images, tables and lists appear. The BODY tag can
define various attributes of the document. These are listed after the syntax.
<BODY background="URL of IMAGE file" BGCOLOR="#RRGGBB" TEXT="#RRGGBB"
LINK="#RRGGBB" VLINK="#RRGGBB" ALINK="#RRGGBB" >
</BODY>
- Background=URL This attribute defines a background image that will be tiled
behind your document.
- BGCOLOR=#RRGGBB - Color used for the backgroud if no image is defined.
- TEXT=#RRGGBB - Color used for text display in the document.
- LINK=#RRGGBB - Color of hypertext link tags.
- VLINK=#RRGGBB - Color of hypertext links that have been visited.
- ALINK=#RRGGBB - Color of hypertext links that are active (currently selected).
Some browsers support the use of the following keywords rather than the #RRGGBB information.
| Black: | #000000 | Green: | #008000
| Silver: | #C0C0C0 | Lime: | #00FF00
|
| Gray: | #808080 | Olive: | #808000
| White: | #FFFFFF | Yellow: | #FFFF00
|
| Maroon: | #800000 | Navy: | #000080
| Red: | #FF0000 | Blue: | #0000FF
|
| Purple: | #800080 | Teal: | #008080
| Fuchsia: | #FF00FF | Aqua: | #00FFFF
|
Example
<HTML >
<HEAD>
<TITLE>Structure Tags </TITLE>
<!-- Created by: Dale Hamilton, 1-Mar-1995 -->
<!-- Updated 96/01/15 -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META NAME="DESCRIPTION" CONTENT="Southwestern Bell Provisioning Group">
<META NAME="KEYWORDS" CONTENT="Long Distance, Southwestern, Bell, SBC, Provisioning">
<META NAME="AUTHOR" CONTENT="Dale Hamilton">
<META NAME="update" CONTENT="Dale Hamilton">
<META NAME="GENERATOR" CONTENT="Internet Assistant for Microsoft Word 2.04z">
</HEAD>
<BODY>
Various other tag groups like sub headings, images, lists, and tables.
</BODY>
</HTML>
Paragraph Tag
<P ALIGN=LEFT> - Paragraph - Causes a break a horizontal
gap (spacing). Subsequent alignment can be LEFT, CENTER, RIGHT.
Initial text
New text
Division Tag
<div> ALIGN=left|right|center</div> - Division - No visual effect except
when changing alignment. Simmilar to Paragraph above without spacing.
Initial text
New text
Horizontal Rule Tag
<hr ALIGN=left|right|center, NOSHADE, SIZE=n, WIDTH=n|p%< - The Horizontal Rule tag provides a
way to create a paragraph type break and place a horizontal mark across the page. It has
three parameters that change its appearance. These options are demostrated below.
Default <HR>
Percentage width <HR WIDTH="50%">
Percentage width and size <HR SIZE="6" WIDTH="50%">
NOSHADE (Thick Line) and 50% width <HR NOSHADE WIDTH="50%">
Align right 50% width <HR ALIGN="RIGHT" WIDTH="50%">
Webmaster Dale Hamilton