Hex Color palette
u Basic Tags u Graphical Elements
u Header Tags u Tables
u Body Attributes u Table Attributes
u Text Tags u Frames
u Links u Frame Attributes
u Formatting u Forms
Basic Tags
<html></html>
Creates an HTML document
<head></head>
Sets off the title and other information that isn't displayed on the Web page itself
<body></body>
Sets off the visible portion of the document

Header Tags
<title></title>
Puts the name of the document in the title bar

Body Attributes
<body bgcolor=?>
Sets the background color, using name or hex value
<body background=?>
Sets the background, using image
<body behavior="fixed">
Sets the background image as a fixed image
(Background image doesn't move while scrolling)
<body text=?>
Sets the text color, using name or hex value
<body link=?>
Sets the color of links, using name or hex value
<body vlink=?>
Sets the color of visited links, using name or hex value
<body alink=?>
Sets the color of links on click, using name or hex value

Text Tags
<pre>This is an
exapmle</pre>

Creates preformatted text
(it shows up exactly as you type it)
This is an
example.
<hl></hl>
Creates the largest headline
<h6></h6>
Creates the smallest headline
<b>this is an example.</b>
Creates bold text

This is an example.
<i>This is an example.</i>
Creates italic text

This is an example.
<tt>This is an example.</tt>
Creates teletype, or typewriter-style text

This is an example.
<cite>This is an example.</cite>
Creates a citation, usually italic

This is an example.
<em>This is an example.</em>
Emphasizes a word with italic or bold

This is an example.
<strong>This is an example.</strong>
Emphasizes a word (with italic or bold)

This is an example.
<font size=?></font>
Sets size of font (1 2 3 4 5 6 7)
<font face=?></font>
Sets font style (Ariel, Verdana, Helvetica, Sans-serif, etc.)
<font color=?></font>
Sets font color, using name or hex value

Links
<a href="URL" target="parent"></a>
Creates a hyperlink and opens a new browser

This is an example.
<a href="mailto:EMAIL"></a>
Creates a mailto link

This is an example.
<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

This is an example.

Formatting
<p></p>
Creates a new paragraph
<p align=?>
Aligns a paragraph to the left, right, or center
<br>
Inserts a line break
<blockquote></blockquote>
indents text from both sides
<dl></dl>
Creates a definition list
<dt>
Precedes each definition term
<dd>
Precedes each definition
<ol></ol>
Creates a numbered list
<li></li>
Precedes each list item, and adds a number
<ul></ul>
Creates a bulleted list
<div align=?>
A generic tag used to format large blocks of HTML, also used for stylesheets

Graphical Elements
<img src="name">
Adds an image
<img align=?>
Aligns an image: left, right, center, bottom, top, middle
<img border=?>
Sets size of border around an image
<hr>
Inserts a horizontal rule


<hr color=?>
Sets color of rule, using name or hex value







<hr size=?>
Sets size (height) of rule, in pixels


<hr width=?>
Sets width of rule, in percentage or absolute value


<hr noshade>
Creates a rule without a shadow



Tables
<table></table>
Creates a table
<tr></tr>
Sets off each row in a table
<td></td>
Sets off each cell in a row
<th></th>
Sets off the table header (a normal cell with bold, centered text)

Table Attributes
<table border=#>
Sets width of border around table cells
<table cellspacing=#>
Sets amount of space between table cells
<table cellpadding=#>
Sets amount of space between a cell's border and its contents
<table width=?>
Sets width of table, in pixels or percent
<tr align=?> or <td align=?>
Sets alignment for cell(s) (left, center, or right)
<tr valign=?> or <td valign=?>
Sets vertical alignment for cell(s) (top, middle, or bottom)
<td colspan=?>
Sets number of columns a cell should span
<td rowspan=?>
Sets number of rows a cell should span
<td nowrap>
Prevents the lines within a cell from being broken to fit

Frames
<frameset></frameset>
tag in a frames document. Can also be nested in other framesets
<frameset rows="value,value">
Defines the rows within a frameset, using number in pixels, or percentage of width
<frameset cols="value,value">
Defines the columns within a frameset, using number in pixels, or percentage of width
<frame>
Defines a single frame - or region - within a frameset
<noframes></noframes>
Defines what will appear on browsers that don't support frames

Frames Attributes
<frame src="URL">
Specifies which HTML document should be displayed
<frame name="name">
Names the frame, or region, so it may be targeted by other frames
<frame marginwidth=#>
Defines the left and right margins for the frame; must be equal to or greater than 1
<frame marginheight=#>
Defines the top and bottom margins for the frame; must be equal to or greater than 1
<frame scrolling=VALUE>
Sets whether the frame has a scrollbar; value may equal "yes," "no," or "auto. " The default, as in ordinary documents, is auto.
<frame noresize>
Prevents the user from resizing a frame

Forms
For functional forms, you'll have to run a CGI script. The HTML just creates the appearance of a form.
<form></form>
Creates all forms
<select multiple 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

<option></option>
Sets off each menu item
<textarea name="NAME" cols=# rows=# value="text"></textarea>
Creates a text box area. Columns set the width; rows set the height. Value sets the message in the textarea

<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=text name="NAME" size=#>
Creates a one-line text area. Size sets max length, in characters.

<input type="submit" value="NAME">
Creates a Submit button

<input type="image" border=0 name="NAME" src="name.gif">
Creates a Submit button using an image

<input type="reset">
Creates a Reset button

|
u Basic Tags u Graphical Elements
u Header Tags u Tables
u Body Attributes u Table Attributes
u Text Tags u Frames
u Links u Frame Attributes
u Formatting u Forms
Hex Color palette
Try some HTML