Quick HTML Tag Reference Page

Basic Tags

<html></html> Creates an HTML document - encloses the entire document.
<head></head> Page info and set up. Includes: title, isindex, base, nextid, meta, script, style.
<body></body> Sets off the visible portion of the document.
for frames see bottom of page

Between Head Tags examples page

<title></title>........................... Places the name of the document in the title bar.
<meta name="author" content="?"> The name of the author of the page goes here.
<meta name="robots" content="?"> follow or nofollow and index or noindex separated by comma(to direct search engine spiders).
<meta name="keywords" content="?"> Contains the keywords found on page separated by commas.
<meta name="generator" content="?"> The name of the program that created the webpage.
<meta name="description" content="?"> Descibes what the page contains or its subject matter.
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
just copy onto page
Sets type of page and character set used.
<meta name="?" content="?"> blank
<script language="javascript"><!--
// --></script>
Used to enclose javascript.
In head or body
<script language="vbscript"><!--
--> </script>
Used to enclose vbscript.
In head or body
<style type="text/css"><--
--></style>
Used to enclose style sheet formating.
In head only

Body Tag Attributes examples page

bgcolor="?" Sets the background color- use the name or hex #value.
text="?" Sets the text color- use the name or hex #value.
link="?" Sets the color of links- use the name or hex #value.
vlink="?" Sets the color of links followed- use the name or hex #value.
alink="?" Sets the color of links on click- use the name or hex #value.

Text Tags examples page

<b></b> Creates bold text or use alt: <strong></strong>
<i></i> Creates italic text or use alt: <em></em>
<tt></tt> Creates typewriter-style text.
<big></big> Causes text to be one size larger than normal.
<small></small> Causes text to be obe size smaller than normal.
<sub></sub> Causes text to be subscripted.
<sup></sup> Causes text to be superscripted.
<blink></blink> Causes text to blink. (Netscape)
<font size="?"></font> Sets size of font- from 1 to 7.
<font color="?"></font> Sets the font color- use the name or hex #value.
<basefont size="?"> Sets the default size, color, face, of the font for the document.

Links examples page

<a href="?"></a> Creates a hyperlink - insert path name to page- title between tags.
<a href="mailto:?"></a> Creates a mailto link- insert email address- title between tags.
<a name="name"></a> Creates a target location within a document.
<a href="#name"></a> Links to that target location from elsewhere in the document.

Formating examples page

<hl></hl> Creates the largest heading.
<h6></h6> Creates the smallest heading.
<p></p> Creates a new paragraph.
<cite></cite> Creates a citation, usually italic.
<br> Inserts a line break.
<center></center> Centers elements on the document.
<blockquote>
    </blockquote>
Indents text from both sides.
<pre></pre> Creates preformatted text.


<dl></dl> Creates a definition list.
<dt> Precedes each definition term.
<dd> Precedes each definition.


<ol></ol> Creates a numbered list.
<ul></ul> Creates a bulleted list.
<li></li> Precedes each list item, and adds a number or button.


<div align="?"></div> A tag used to format large blocks of HTML.
<span></span> Identifies a small block of space within element groups.

Images examples page

<img src="name"> Adds an image, src is the source of the image.
    align="?" Aligns an image: left, right, center;
Aligns text relative to image: bottom, top, middle.
    border="?" Sets the size of the border around an image.
    alt="?" A text string that will be displayed in browsers that do not support images.
    vspace="?" The size of the space above and below the image.
    hspace="?" The size of the space to left and right of the image.
    width="?" The width the image will be displayed.
    height="?" The height the image will be displayed.
    lowsrc="?" URL path to image that will be loaded first.

Rules examples page

<hr> Inserts a horizontal rule.
    size="?" Sets size (height) of rule.
    width="?" Sets width of rule.
    color="#?" Sets the color of rule- in some browsers.
    align="?" The alignment of the ruler: left, center or right.
    noshade Creates a rule without a shadow.

Tables examples page

<table></table> Creates a table.
<caption></caption> Creates the title heading for the table.
<th></th> Creates a cell for headings- A normal cell with bold, centered text.
<tr></tr> Creates a row in a table.
<td></td> Creates a table cell in a row- columns.

Table Attributes same as above

table border="?" Sets the width of the border around table cells.
table cellspacing="?" Sets the amount of space between table cells.
table cellpadding="?" Sets the amount of space between a cell's border and its contents.
table width="?" Sets width of table - In pixels or as a percentage of the document's width.
tr or td align="?" Sets the alignment for inside the cells: left, center, or right.
tr or td valign="?" Sets the vertical alignment for inside the cells: top, middle, or bottom.
td colspan="?" Sets number of columns a cell should span.
td rowspan="?" Sets number of rows a cell should span (default=1).
td nowrap Prevents a line of text within a cell from being broken to fit.

Forms

<form></form> Creates all forms.
<select multiple name="name" size="?"></select> Creates a scrolling menu. Size sets the number of menu items visible before you need to scroll.
<select name="name"></select> Creates a pulldown menu.
<textarea name="name" cols="?" rows="?"></textarea> Creates a text box area. Columns set the width; rows set the height.
<input type="checkbox" name="name"> Creates a checkbox, text follows tag.
<input type="radio" name="name" value="x"> Creates a radio button, text follows tag.
<input type="submit" value="name"> Creates a Submit button.
<input type="image" border="?" name="name" src="name.gif"> Creates a Submit button using an image.
<input type="reset"> Creates a Reset button.
<option> Creates each menu item.

Frames

<frameset></frameset> Main tags in a frames document; can also be nested within other framesets.
<frameset rows="value, value"> Defines the number and the height of the rows within a frameset- in pixels or percentage.
<frameset cols="value, value"> Defines the width of the columns within a frameset- in pixels or percentage.
<frame src="?" name="?"> Defines a single frame within a frameset- src of url & name of frame.
<noframes></noframes> Defines what will appear on browsers that don't support frames.
<base target="?"> Sets which frame will host clicked links.

Other Frame Attributes

<frame marginwidth="?"> Sets the left and right margins for the frame; must be greater than 0.
<frame marginheight="?"> Sets the top and bottom margins for the frame; must be greater than 0.
<frame scrolling="value"> Sets whether the frame has a scrollbar; value may equal "yes," "no," if not used the default is auto.
<frame noresize> If used it prevents the user from resizing a frame.

More to follow when I have researched a little better.

HTML - help section


Hope that this helps you...

Author: Joseph Raymond

4th of February, 2001