Site hosted by Angelfire.com: Build your free website today!


Select from the Menu Items Below

HTML Tag
Attributes
What It Does
Other Info
Comment Tags

<!-- ... -->


<comment> </comment>

 
Creates a hidden comment.


Creates a hidden comment.
Comment tags are used to hide JavaScript from older browsers or to mark sections within an HTML document for easier editing. Comments do not show up on web pages, they ae visible only in the source code.
Basic Structure Elements
<html> ... </html>
 
Begins an HTML document and encloses the entire page.
 
 <head> ... </head>
 
 Encloses the head section of an HTML document.
 
 <title> ... </title>
 
 Encloses the title of the HTML document and is placed within the <head> section.
 
 <body> ... </body>
 
 Encloses the body of an HTML document. The content of the body, minus the HTML code, is what you see on a page.
 
 
 background="..."
 The URL of the image to tile is the web page background
 
 
 bgcolor="..."
 Sets the background color of the page.
 
 
  text="..."
  Sets the text color of the page.
  
 
  link="..."
  Sets the link color of the page.
  
  
 alink="..."
 Sets the active link color of the page.
 
  
 vlink="..."
 Sets the visited link color of the page.
 
 
bgproperties="..."
The value of "fixed" keeps teh web page background from scrolling. this doesn't work in all browsers.
 
 
topmargin="..."
Sets the top margin of the page, measured in pixels. (IE)
 
 
leftmargin="..."
Sets the left margin of the page, measured in pixels. (IE)
 
 
rightmargin=".."
Sets the right margin of the page, measured in pixels. (IE)
 
 
bottommargin=".."
Sets the bottom margin of hte page, measured in pixels. (IE)
 
 
marginwidth="..."
Sets the left and right margin of the page, measured in Pixels. (Netscape)
 
 
marginheight="..."
Sets the top and bottom margin of the page, measured in pixels. (Netscape)
 
<base>
 
 Optional tag used in the <head> section to list the document URL.
  
 
 href="..."
 The full URL of the page.
  
 <meta>
  
  Used to indicate information aobut the document
 
 
name="..."
Defines the type of meta tag it is. Example: Keywords
 
 
content="..."
The content for the named type.
 
 
description="..."
The description of your site that will display on the search engines.
 
 
author="..."
Place to type in the author info for the page.
 
Heading Elements
<h1> ... </h1>
 
1st level heading (largest).
 
<h2> ... </h2>
 
2nd level heading.
 
<h3> ... </h3>
 
3rd level heading.
 
<h4> ... </h4>
 
4th level heading.
 
<h5> ... </h5>
 
5th level heading.
 
<h6> ... </h6>
 
6th level heading (smallest).
 
Formatting Elements
 <em> ... </em>
 
 Adds emphasis (usually italics).
 
 <strong> ... </strong>
 
 Stong emphasis (usually bold).
 
 <cite> ... </cite>
 
 Citation (usually italics).
 
 <b> ... </b>
 
 Bold Text.
 
 <i> ... </i>
 
 Italic Text.
 
 <tt> ... </tt>
 
 Typewriter text (monospaced).
 
 <pre> ... </pre>
 
 Preformatted text.
 
<big> ... </big>
 
Text is slightly bigger than base.
 
<small> ... </small>
 
Text is slightly smaller than base.
 
<sub> ... </sub>
 
Subscript (lower than normal).
 
<sup> ... </sup>
 
Superscript (higher than normal).
 
<strike> ... </strike>
 
Line through the text.
 
<blockquote> ... </blockquote>
 
Indents text on both side margins.
 
<address> ... </address>
 
Used for signatures to create a line break on both sides.
 
<center> ... </center>
 
Centers the content.
 
<blink> ... </blink>
 
Causes text to blink. Not supported by all browsers.
Use sparingly or not at all.
<font> ... </font>
 
Changes the font attributes.
 
 
size="..."
Controls font size from 1-7, with 1 being the smallest.
 
 
color="..."
Changes the font color.
 
 
face="..."
Change the font typeface.
 
 <basefont> ... </basefont>
 
 Sets the default font size.
 
 
size="..."
Values are from 1-7.
 
<p> ... </p>
 
Paragraph. Creates a double line break. A cancel tag is optional.
 
 
align="..."
Aligns the paragraph. Values are left, right, center, and justify.
 
<br>
 
Break. Creates a single line break. No cancel tag is used.
 
 
clear="..."
Causes text to stop flowing around images. Values are left, right, and all.
 
<nobr> ... </nobr>
 
Causes text not to wrap to the next line. May cause page to scroll sideways.
 
 
 
Creates a non-breaking space (a blank space).
 
<hr>
 
Horizontal rule (line). No cancel tag is used.
 
 
size="..."
The vertical thickness of the rule, as measured in pixels.
 
 
width="..."
The horizontal width of the rule, as mesured in pixels or a percentage of the page or table cell that encloses it.
 
 
color="..."
The color of the rule. (IE)
 
 
align="..."
Aligns the rule left, right or center.
 
 
noshade
Makes the rule a solid line instead of two-tone bevel.
 
Link Elements
<a> ... </a>  
With "href," creates a link to another file; or with "name," creates an anchor point that can be linked to.
 
  href="..."
Hypertext reference, the URL of the file to be retrieved.
 
  name="..."
The name of an anchor point.
 
  urn="..."
Uniform Resource Number. the numerical address of a file. Seldom used.
 
  title="..."
The name or title of the linked file.
 
  target="..."
The frame name the lik should appearin, or "new" to open the link in a new window.
 
List Elements
<ol> ... </ol>  
Ordered list.
 
  type="..."
Defines the list labels, values are A, a, I, i, and 1.
 
  start="..."
The label value to start the list.
 
<ul> ... </ul>  
Unordered (bulleted) list.
 
  type="..."
The style of bullet to use, values are circle, disk, and square.
 
<menu> ... </menu>
 
Menu list. Not often used.
 
<dir> ... </dir>
 
Directory list. Not often used.
 
<li>
 
A list item or ordered lists, unordered lists, menu lists, and directory lists. No cancel tag is used.
 
<dl> ... </dl>
 
Definition list.
 
 
compact
Creates list with less white space.
<dt>
 
Definition term, used with definition lists. No cancel tag is used.
 
<dd>
 
Definition of hte definition term, used with definition lists. No cancel tag is used.
 
Form Elements
<form> ... </form>
 
Begins an input form.
 
 
action="..."
The URL of the script to process the form, or the mailto reference.
 
 
method="..."
How the form is processed. Values are get or post.
 
 
name="..."
Name of the form, used in JavvaScript references.
 
<input> ... </input>
 
An input device for a form.
 
 
type="..."
Input type. Values aer checkbox, radio, text, submit, reset, hidden, password, or image.
 
 
name="..."
Labels output in a processed form.
 
 
value="..."
The default value for a text field or hidden field; for a checkbox or radio button, the value to be submitted with the form; for reset or submit buttons, the text that should appear on the button.
 
 
src="..."
If using an image, the path and file name to the image.
 
 
size="..."
The size of a text box, as measured in characters.
 
 
align="..."
If using images, works like an image align tag.
 
 
maxlength="..."
the maximum amount of characters allowed in a text box.
 
 
checked
Causes a checkbox or radio button to be checked by default when the page loads.
 
<textarea> ... </textarea>
 
A multi-line text input box. text can be placed in the box by default by placing it between opening and closing tags.
 
 
 rows="..."
 Controls the height of the text box.
  
 
cols="..."
Controls the width of the text box.
 
 
name="..."
Labels output in a processed form.
 
 
wrap
Controls text wrapping. Values are physical, virtual, and off.
 
 <select> ... </select>
 
 Creates a drop-down list or scrolling menu of items.
 
 
size="..."
Number of items to display in a scrolling list. If size is not indicated it becomes a drop-down list.
 
 
name="..."
Labels out put in a processed form.
 
 
multiple
Allows more than one selection from the list to be made.
 
<option>
 
Lists an item within the <select> tags. No cancel tag needed.
 
 
value="..."
Value to submit when form is processed.
 
 
selected
Makes one item the default selection when a page loads. Can only be used with one option per <select> list.
 
Table Elements
<table>...>/table>
 
Creates a table of rows and columns.
 
 
cellpadding="..."
The space between the edge of a table cell and the cell contents, measured in pixels.
 
 
cellspacing="..."
The space between the table cells, measured in pixels.
 
 
width="..."
The width of a table, measured in pixels or page percentage.
 
 
border="..."
The width of the table border, measured in pixels.
 
  align="..."
Horizontal alignment of the table, values are left, right, and center.
 
  valign="..."
Vertical alignment of content within the table. Values are top and bottom.
 
  bgcolor="..."
The background color of all cells that do not have their own color or background image specified.
 
  background="..."
The URL of a background image to tile in all the cells that do not have their own background color or image specified.
 
  bordercolor="..."
The border color if the border attribute is used.
 
  bordercolorlight="..."
Color for the light shade in 3-D look borders. (IE)
 
  bordercolordark="..."
Color for the dark shade in 3-D look borders. (IE)
 
  frame="..."
Controls external table borders. Values are: above (top border), below (bottom border), hsides (horizontal sides, top and bottom borders), lhs (left had side), rhs (right hand side), vsides (vertical sides, left and right borders), box (all sides), and void (no borders).
 
  rules="..."
Controls internal table borders. Values are none, all, basic, cols, and rows.
 
<caption> ... </caption>  
Sets a caption for the table.
 
  align="..."
Sets the horizontal alignment. Values are left, center, right, and justified.
 
<tr> ... </tr>  
Starts a table row. Can contain headings and data (<th> and <td>).
 
  align="..."
Sets the horizontal alignment for this row. Values are left, center, right, and justified.
 
  valign="..."
Sets the vertical alignment for this row. Values are top, middle, bottom, and baseline.
 
  bgcolor="..."
The background color of all cells in that row that do not have their own color or background image specified.
 
  background="..."
The URL of a background image to tile in all the cells in that row that do not have their oown background color or image specified.
 
  bordercolor="..."
The border color in that row if the border attribute is used.
 
  bordercolorlight="..."
Color in that row for the light shade in 3-D look borders. (IE)
 
  bordercolordark="..."
Color for that row for the dark shade in 3-D look borders. (IE)
 
<th> ... </th>  
Sets a table heading cell.
 
  align="..."
Sets the horizontal alignment for the cell. Values are left, center, right, and justify.
 
  valign="..."
Sets the vertical alignment for the cell. Values are top, middle, bottom, and baseline.
 
  rowspan="..."
Sets the number of rows the cell will span.
 
  colspan="..."
Sets the number of columns the cell will span.
 
  width="..."
Sets the width of this celll column. Measured in pixels or percentage.
 
  bgcolor="..."
The background color of this cell.
 
  background="..."
The URL of a background image to tile in this cell.
 
  bordercolor="..."
The border color if the border attribute is used.
 
  bordercolorlight"..."
Color in that row for the light shade in 3-D look borders. (IE)
 
  bordercolordark="..."
Color for that row for the dark shade in 3-D look borders. (IE)
 
  nowrap
Prevents text from wrapping to the next line.
 
<td> ... </td>  
Sets a table data cell.
 
  align="..."
Sets the horizontal alignment for the cell. Values are left, center, right, and justify.
 
  valign="..."
Sets the vertical alignment for the cell. Values are top, middle, bottom, and baseline.
 
  rowspan="..."
Sets the number of rows the cell will span.
 
  colspan="..."
Sets the number of columns the cell will span.
 
  width="..."
Sets the width of this celll column. Measured in pixels or percentage.
 
  bgcolor="..."
The background color of this cell.
 
  background="..."
The URL of a background image to tile in this cell.
 
  bordercolor="..."
The border color if the border attribute is used.
 
  bordercolorlight="..."
Color in that row for the light shade in 3-D look borders. (IE)
 
  bordercolordark="..."
Color for that row for the dark shade in 3-D look borders. (IE)
 
  nowrap
Prevents text from wrapping to the next line.
 
   
 
Frame Elements
<frameset> ... </frameset>  
Divides a browser into windows that can each display separate HTML pages.
 
  rows="..."
Causes the window to be divided horizontally into rows.
 
  cols="..."
Causes the window to be divided vertically into columns.
 
  border="..."
Size of the frame border. Set to 0 (zero) for Netscape for no border.
 
  frameborder="..."
Turns frame border off for IE. Values are yes and no.
 
<frame>  
Sets a single frame of a frameset. No cancel tag is used.
 
  src="..."
The URL of the page to be displayed in this frame.
 
  name="..."
A name used to target pages to be loaded into this frame.
 
  marginwidth="..."
The space (padding) between the left and right side of the frame and the frame's content.
 
  marginheight="..."
The space (padding) between the top and bottom of the frame and the frames content.
 
  scrolling="..."
Sets whether a frame has scrollbars. Values are yes, no, and, auto.
 
  noresize
Prevents visitors from resizing the frames.
 
<noframes> ... </noframes>  
Provides an alternative document to browsers that do not support frames.
 
Image Elements
<img>  
Places an image into a document. No cancel tag is used.
 
  src="..."
The URL to the image.
 
  width="..."
The width of the image, measured in pixels.
 
  height="..."
The height of the image, measured in pixels.
 
  align="..."
The alignment of the image. If set to left or right, text will flow beside the image. All other values (top, middle, bottom) determine vertical alignment with other content on the same line.
 
  alt="..."
Alternative text for browsers that do not support graphics or have graphics turned off.
 
  border="..."
Creates a border as measured in pixels areound the image. If the image is a link, it's common to set the border to 0 (zero).
 
  ismap
Declaration for an image map.
 
  usemap="..."
The name of the map to use for image map. Used with map and area tags.
 
  vspace="..."
Sets the space (padding) above and below an image.
 
  hspace="..."
Sets the space (padding) on both sides of an image.
 
  lowsrc="..."
The URL to a smaller image to be loaded before the larger image loads.
 
<map> ... </map>  
Contains the image map coordinates. Must have at least one <area> tag, referenced by the usemap attribute in an image tag.
 
<area>  
Defines the coordinates of each clickable link in an image map. No cancel tag is used.
 
  shape="..."
Defines the shape of the clickable area. Values are rect, circle, and poly.
 
  coords="..."
The coordinates of the clickable area for an image map link.
 
  href="..."
The URL that should be activated when the defined coordinates are clicked.
 

Back To Top

ASCII
American Standard Code for Information Interchange -
Basically, it is the lowest common denominator method for transferring information. ASCII has almost universal support.

ASCII #
Makes
HTML
ASCII #
Makes
HTML
ASCII #
Makes
HTML
0 - 8
Unused
 
9
Tab
&#09;
10
Line Feed
&#10;
11 - 31
Unused
 
32
Space
&#32;
33
!
&#33;
34
"
&#34;
35
#
&#35;
36
$
&#36;
37
%
&#37;
38
&
&#38;
39
'
&#39;
40
(
&#40;
41
)
&#41;
43
+
$#43;
44
,
&#44;
45
-
&#45;
46
.
&#46;
47
/
&#47;
48
0
&#48;
49
1
&#49;
50
2
&#50;
51
3
&#51;
52
4
&#52;
53
5
&#53;
54
6
&#54;
55
7
&#55;
56
8
&#56;
57
9
&#57;
58
:
&#58;
59
;
&#59;
60
<
&#60;
61
=
&#61;
62
>
&#62;
63
?
&#63;
64
@
&#64;
65
A
&#65;
66
B
&#66;
67
C
&#67;
68
D
&#68;
69
E
&#69;
70
F
&#70;
71
G
&#71;
72
H
&#72;
73
I
&#73;
74
J
&#74;
75
K
&#75;
76
L
&@76;
77
M
&#77;
78
N
&#78;
79
O
&#79;
80
P
&#80;
81
Q
&#81;
82
R
&#82;
83
S
&#83;
84
T
&#84;
85
U
&#85;
86
V
&#86;
87
W
&#87;
88
X
&#88;
89
Y
&#89;
90
Z
&#90;
91
[
&#91;
92
\
&#92;
93
]
&#93;
94
^
&#94;
95
_
&#95;
96
`
&#96;
97
a
&#97;
98
b
&#98;
99
c
&#99;
100
d
&#100;
101
e
&#101;
102
f
&#102;
103
g
&#103;
104
h
&#104;
105
i
&#105;
106
j
&#106;
107
k
&#107;
108
l
&#108;
109
m
&#109;
110
n
&#110;
111
o
&#111;
112
p
&#112;
113
q
&#113;
114
r
&#114;
115
s
&#115;
116
t
&#116;
117
u
&#117;
118
v
&#118;
119
w
&#119;
120
x
&#120;
121
y
&#121;
122
z
&#122;
123
{
&#123;
124
|
&#124;
125
}
&#125;
126
~
&#126;
127 - 152
Unused
 
153
&#153;
154
š
&#154;
155
&#155;
156
œ
&#156;
157
Unused
 
158
ž
&#158;
159
Ÿ
&#159;
160
Unused
 
161
¡
&#161;
162
¢
&#162;
163
£
&#163;
164
¤
&#164;
165
¥
&#165;
166
¦
&#166;
167
§
&#167;
168
¨
&#168;
169
©
&#169;
170
ª
&#170;
171
«
&#171;
172
¬
&#172;
173
­
&#173;
174
®
&#174;
175
¯
&#175;
176
°
&#176;
177
±
&#177;
178
²
&#178;
179
³
&#179;
180
´
&#180;
181
µ
&#181;
182
&#182;
183
·
&#183;
184
¸
&#184;
185
¹
&#185;
186
º
&#186;
187
»
&#187;
188
¼
&#188;
189
½
&#189;
190
¾
&#190;
191
¿
&#191;
192
À
&#192;
193
Á
&#193;
194
Â
&#194;
195
Ã
&#195;
196
Ä
&#196;
197
Å
&#197;
198
Æ
&#198;
199
Ç
&#199;
200
È
&#200;
201
É
&#201;
202
Ê
&#202;
203
Ë
&#203;
204
Ì
&#204;
205
Í
&#205;
206
Î
&#206;
207
Ï
&#207;
208
Ð
&#208;
209
Ñ
&#209;
210
Ò
&#210;
211
Ó
&#211;
212
Ô
&#212;
213
Õ
&#213;
214
Ö
&#214;
215
×
&#215;
216
Ø
&#216;
217
Ù
&#217;
218
Ú
&#218;
219
Û
&#219;
220
Ü
&#220;
221
Ý
&#221;
222
Þ
&#222;
223
ß
&#223;
224
à
&#224;
225
á
&#225;
226
â
&#226;
227
ã
&#227;
228
ä
&#228;
229
å
&#229;
230
æ
&#230;
231
ç
&#231;
232
è
&#232;
233
é
&#233;
234
ê
&#234;
235
ë
&#235;
236
ì
&#236;
237
í
&#237;
238
î
&#238;
239
ï
&#239;
240
ð
&#240;
241
ñ
&#241;
242
ò
&#242;
243
ó
&#243;
244
ô
&#244;
245
õ
&#245;
246
ö
&#246;
247
÷
&#247;
248
ø
&#248;
249
ù
&#249;
250
ú
&#250;
251
û
&#251;
252
ü
&#252;
253
ý
&#253;
254
þ
&#254;
255
ÿ
&#255
 
 
 
 
 
 


Color Charts
These colors are not exact. Look them up if you need an exact color.

216 Browser-safe Colors Chart

#000000 #330000 #660000 #990000 #CC0000 #FF0000
#003300 #333300 #663300 #993300 #CC3300 #FF3300
#006600 #336600 #666600 #996600 #CC6600 #FF6600
#009900 #339900 #669900 #999900 #CC9900 #FF9900
#00CC00 #33CC00 #66CC00 #99CC00 #CCCC00 #FFCC00
#00FF00 #33FF00 #66FF00 #99FF00 #CCFF00 #FFFF00

#000033 #330033 #660033 #990033 #CC0033 #FF0033
#003333 #333333 #663333 #993333 #CC3333 #FF3333
#006633 #336633 #666633 #996633 #CC6633 #FF6633
#009933 #339933 #669933 #999933 #CC9933 #FF9933
#00CC33 #33CC33 #66CC33 #99CC33 #CCCC33 #FFCC33
#00FF33 #33FF33 #66FF33 #99FF33 #CCFF33 #FFFF33

#000066 #330066 #660066 #990066 #CC0066 #FF0066
#003366 #333366 #663366 #993366 #CC3366 #FF3366
#006666 #336666 #666666 #996666 #CC6666 #FF6666
#009966 #339966 #669966 #999966 #CC9966 #FF9966
#00CC66 #33CC66 #66CC66 #99CC66 #CCCC66 #FFCC66
#00FF66 #33FF66 #66FF66 #99FF66 #CCFF66 #FFFF66

#000099 #330099 #660099 #990099 #CC0099 #FF0099
#003399 #333399 #663399 #993399 #CC3399 #FF3399
#006699 #336699 #666699 #996699 #CC6699 #FF6699
#009999 #339999 #669999 #999999 #CC9999 #FF9999
#00CC99 #33CC99 #66CC99 #99CC99 #CCCC99 #FFCC99
#00FF99 #33FF99 #66FF99 #99FF99 #CCFF99 #FFFF99

#0000CC #3300CC #6600CC #9900CC #CC00CC #FF00CC
#0033CC #3333CC #6633CC #9933CC #CC33CC #FF33CC
#0066CC #3366CC #6666CC #9966CC #CC66CC #FF66CC
#0099CC #3399CC #6699CC #9999CC #CC99CC #FF99CC
#00CCCC #33CCCC #66CCCC #99CCCC #CCCCCC #FFCCCC
#00FFCC #33FFCC #66FFCC #99FFCC #CCFFCC #FFFFCC

#0000FF #3300FF #6600FF #9900FF #CC00FF #FF00FF
#0033FF #3333FF #6633FF #9933FF #CC33FF #FF33FF
#0066FF #3366FF #6666FF #9966FF #CC66FF #FF66FF
#0099FF #3399FF #6699FF #9999FF #CC99FF #FF99FF
#00CCFF #33CCFF #66CCFF #99CCFF #CCCCFF #FFCCFF
#00FFFF #33FFFF #66FFFF #99FFFF #CCFFFF #FFFFFF


Grayscale Colors

#000000 #111111 #222222 #333333
#444444 #555555 #666666 #777777
#888888 #999999 #AAAAAA #BBBBBB
#CCCCCC #DDDDDD #EEEEEE #FFFFFF



216 Browser-safe Colors Chart

aliceblue antiquewhite aqua
aquamarine azure beige
bisque black blue
blueviolet brown burlywood
cadetblue chartreuse chocolate
coral cornflowerblue cornsilk
crimson cyan darkblue
darkcyan darkgoldenrod darkgray
darkgreen darkkhaki darkmagenta
darkolivegreen darkorange darkorchid
darkred darksalmon darkseagreen
darkslateblue darkslategray darkturquoise
darkviolet deeppink mediumturquoise
deepskyblue dimgray dodgerblue
firebrick floralwhite forestgreen
fuchsia gainsboro ghostwhite
gold goldenrod gray
green greenyellow honeydew
hotpink indianred indigo
ivory khaki lavender
lavenderblush lawngreen lemonchiffon
lightblue lightcoral lightcyan
lightgreen lightgrey lightpink
lightsalmon lightseagreen lightskyblue
lightslategray lightsteelblue lightyellow
lime limegreen linen
magenta maroon mediumblue
midnightblue mintcream mistyrose
moccasin navajowhite navy
oldlace olive olivedrab
orange orangered orchid
palegoldenrod palegreen paleturquoise
palevioletred papayawhip peachpuff
peru pink plum
powderblue purple red
rosybrown royalblue saddlebrown
salmon sandybrown seagreen
seashell sienna silver
skyblue slateblue slategray
snow springgreen steelblue
tan teal thistle
tomato turquoise violet
wheat white whitesmoke
yellow yellowgreen lightgoldenrodyellow
mediumaquamarine mediumorchid mediumpurple
mediumseagreen mediumslateblue mediumspringgreen
  mediumvioletred  


Grayscale Colors

#000000 #111111 #222222 #333333
#444444 #555555 #666666 #777777
#888888 #999999 #AAAAAA #BBBBBB
#CCCCCC #DDDDDD #EEEEEE #FFFFFF
 

Back to Top

© Copyright 2002 - by Donna Schaffer - All rights reserved. All objects on these pages are are owned by their respective designers / owners.