Table of Contents
The URL - Universal Resource Locator (address) has three parts separated by /. In the URL - http://www.imcnet.net/~hlfrgson, the three parts are:
Relative address
< A HREF="file name"> Go to XXX </a> --- <A HREF="programa.htm">Go to Module 2</a>
<A HREF="../newdir/program.htm">Go to XXX --- <A HREF="../newdir/programa.htm">Go to Module 2</a>
<A HREF="subdirectory name/file name">Go to XXX</a> --- Go to Module 2
<A HREF"~name/directory name/file name">Go to XXX</a> --- <A HREF=~jlteach/schools/schools.htm">Go to schools</a>
<A HREF="protocol/domain/file">Go to XXX</a> --- <a href="http://www.microsoft.com/ie/default.html">Go to Microsoft</a>
Font colors can be set using a "named color" such as red, blue, etc. or by using a six character hexadecimal number where the first two characters represent the amount of "red," the third and forth characters represent the amount of "green," and the last two characters indicate the amount of "blue."
Some browsers will not recognize color names like red, blue, etc.
All browsers recognize hexadecimal values such as "#aabbcc" or "#112233" "#000000" or "#ffffff" etc. Examples: "#ff0000" would be red, "#00ff00" would be green, and "#0000ff" would be blue.
Name |
RGB |
Name |
RGB |
White |
#FFFFFF |
Red |
#FFOOOO |
Green |
#00FF00 |
Blue |
#0000FF |
Magenta |
#FF00FF |
Cyan |
#00FFFF |
Yellow |
#FFFF00 |
Black |
#000000 |
Aquamarine |
#70DB93 |
Baker's |
#5C3317 |
Blue |
#9F5F9F |
Brass |
#B5A642 |
Bright |
#D9D919 |
Brown |
#A62A2A |
Bronze |
#8C7853 |
Bronze II |
#A67D3D |
Cadet |
#5F9F9F |
Cool |
#D98719 |
Copper |
#B87333 |
Coral |
#FF7F00 |
Cornflower |
#42426F |
Dark |
#5C4033 |
Dark |
#2F4F2F |
Dark |
#4A766E |
Dark |
#4F4F2F |
Dark |
#9932CD |
Dark |
#871F78 |
Dark |
#6B238E |
Dark |
#2F4F4F |
Dark |
#97694F |
Dark |
#7093DB |
Dark |
#855E42 |
Dim |
#545454 |
Dusty |
#856363 |
Feldspar |
#D19275 |
Firebrick |
#8E2323 |
Forest |
#238E23 |
Gold |
#CD7F32 |
Goldenrod |
#DBDB70 |
Gray |
#C0C0C0 |
Green |
#527F76 |
Green |
#93DB70 |
Hunter |
#215E21 |
Indian |
#4E2F2F |
Khaki |
#9F9F5F |
Light |
#C0D9D9 |
Light |
#A8A8A8 |
Light |
#8F8FBD |
Light |
#E9C2A6 |
Lime |
#32CD32 |
Mandarin |
#E47833 |
Light |
#8E236B |
Medium |
#32CD99 |
Medium |
#3232CD |
Medium |
#6B8E23 |
Medium |
#EAEAAE |
Medium |
#9370DB |
Medium |
#426F42 |
Medium |
#7F00FF |
Medium |
#7FFF00 |
Medium |
#70DBDB |
Medium |
#DB7093 |
Medium |
#A68064 |
Midnight |
#2F2F4F |
Navy |
#23238E |
Neon |
#4d4dff |
Neon |
#FF6EC7 |
New |
#00009C |
New |
#EBC79E |
Old |
#CFB53B |
Orange |
#FF7F00 |
Orange |
#FF2400 |
Orchid |
#DB70DB |
Pale |
#8FBC8F |
Pink |
#BC8F8F |
Neon |
#EAADEA |
Quartz |
#D9D9F3 |
Rich |
#5959AB |
Salmon |
#6F4242 |
Scarlet |
#8C1717 |
Sea |
#238E68 |
Semi-Sweet |
#6B4226 |
Sienna |
#8E6B23 |
Silver |
#E6E8FA |
Sky |
#3299cc |
Slate |
#007FFF |
Spicy |
#FF1CAE |
Spring |
#00FF7F |
Steel |
#236B8E |
Summer |
#38B0DE |
Tan |
#DB9370 |
Thistle |
#D8BFD8 |
Turquoise |
#ADEAEA |
Very |
#5C4033 |
Very |
#CDCDCD |
Violet |
#4F2F4F |
Violet |
#CC3299 |
Wheat |
#D8D8BF |
Yellow |
#99CC32 |
#FFEECC | . |
BGCOLOR tag
Purpose: To set the background color of the page.
Example:
<BODY BGCOLOR="#EEDDCC">
C - 1. Table structure
<TABLE> <tr> <td>Tom</td> <td>Dick</td> <td>Harry</td> <tr> <td>Red</td> <td>Green is a nice color</td> <td>Blue</td> </table>
Tom | Dick | Harry |
Red | Green is a nice color | Blue |
<table border=5> <tr> <td>Tom</td> <td>Dick</td> <td>Harry</td> <tr> <td>Red</td> <td>Green is a nice color</td> <td>Blue</td> </table>
Tom | Dick | Harry |
Red | Green is a nice color | Blue |
<table border=5 bordercolor=blue width=100% cellpadding=8 cellspacing=8> <caption align=bottom center><h1><I>Hey, Neat table! </h1></I></caption> <tr align=center> <th bgcolor="#ff0000">Column 1</th> <th bgcolor=green<Column 2</th> <th bgcolor=0000ff>Column 3</th> <tr align=left valign=top> <Tom<BR> Joe<br> Sue</td> <td>Dick</td> <td>Harry</td> <tr align=right valign=bottom bgcolor=yellow> <td>Red</td> <td align=left>Now is the time for all good men to come to the aid of their country. Now is the time for all good men to come to the aid of their country.</td> <td>Blue<br> Black<br> Purple</td> </tr> </table>
Column 1 | Column 2 | Column 3 |
---|---|---|
Tom Joe Sue |
Dick | Harry |
Red | Now is the time for all good men to come to the aid of their country. Now is the time for all good men to come to the aid of their country. | Blue Black Purple |
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=385> <TR VALIGN="top" ALIGN="left"> <TD COLSPAN=1 ROWSPAN=3 WIDTH=137 ALIGN="center" VALIGN="center"> <A HREF="test1.htm"> <IMG HEIGHT=224 WIDTH=137 SRC="beth.gif" BORDER=0 ALT="Go to Test-1 page"></A></TD> <TD COLSPAN=2 ROWSPAN=1 WIDTH=248 ALIGN="center" VALIGN="center"> <A HREF="test1.htm"><IMG HEIGHT=115 WIDTH=248 SRC="ann.gif" BORDER=0 ALT="Go to Test-1 page"></A></TD> </TR> <TR VALIGN="top" ALIGN="left"> <TD COLSPAN=1 ROWSPAN=1 WIDTH=115 ALIGN="center" VALIGN="center"> <A HREF="test2htm"> <IMG HEIGHT=51 WIDTH=115 SRC="kyle.gif" BORDER=0 ALT="Go to Test-2 page"></A></TD> <TD COLSPAN=1 ROWSPAN=1 WIDTH=133 ALIGN="center" VALIGN="center"> <A HREF="test2.htm"><IMG HEIGHT=51 WIDTH=133 SRC="mike.gif" BORDER=0 ALT="Go to Test-2 page" ></A></TD> </TR> <TR VALIGN="top" ALIGN="left"> <TD COLSPAN=2 ROWSPAN=1 WIDTH=248 ALIGN="center" VALIGN="center"> <A HREF="test1.htm"> <IMG HEIGHT=58 WIDTH=248 SRC="scott.gif" BORDER=0 ALT="Go to Test-1 page" ></A></TD> </TR> <TR VALIGN="top" ALIGN="left"> <TD COLSPAN=3 ROWSPAN=1 WIDTH=385 ALIGN="center" VALIGN="center"> <A HREF="#top"><IMG HEIGHT=26 WIDTH=385 SRC="sky.gif" BORDER=0 ALT="Go to top-of-page"></A></TD> </TR> </TABLE>
![]() |
![]() |
|
![]() |
![]() |
|
![]() |
||
![]() |