
Background and Text Color
-
<body bgcolor=# text=# link=# alink=# vlink=#>
<body background="image-URL">
- bgcolor --- background color
- text --- text color
- link --- link color
- alink --- active link color
- vlink --- visited link color
- background --- background image
-
#=rrggbb
- Color is specified with a hexadecimal red-green-blue.
Each one can have 16 number: 0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f.
Here is a link to a index of color codes
where you can try out different combinations.

Link
Basic
<a href="URL"> ... </a>
-
This is a
<a href="sample.htm">Link Test</a>.
Try to push!
This is a Link Test. Try to push!
Jump to part of a page
<a href="#name"> ... </a>
<a name="name"> ... </a>
-
<a href="#jump-test">Jump to next "Link Target"</a><P>
<a name="jump-test">Link Target</a>
Jump to next "Link Target"
Link Target
Jump to part of an other page
<a href="URL#name"> ... </a>
<a name="name"> ... </a>
-
Jump to
<a href="sample.htm#jump-test">Jump to next "Link Target"</a>
in a Link Test document.
Jump to
"Link Target"
in a Link Test document.

Target Windows
Targeting withing HTML is accomplished by means of the TARGET
attribute. This attribute can be added to a variety of HTML tags
to target the links referred to by that tag.
The attribute is of the form:
<a href="URL" target="Window_Name"> ... </a>
(Netscape Navigator 2.0* open a new window.)
<a href="window.htm" target="window_name">
Open A Window!
</a>
Open A Window!
- TARGET in an A tag.
- This is very straightforward. The anchor tag normally specifies a link
to be loaded when the active item
is clicked on,
adding the TARGET
attribute to the
anchor tag forces the load of that link into the
targeted window. Example:
<A HREF="url"
TARGET="window_name">Targeted
Anchor</A>
- TARGET in the BASE tag.
- This is used when you want all (or most) of the links in a document to
be targeted to the same window.
In this case the TARGET
attribute
establishes a default window_name that all links in
this document
will be targeted to. This default is of course overridden by specific
instances of the TARGET attribute in individual anchor tags.
Example:
<BASE TARGET="window_name">
- TARGET in the AREA tag.
- The IETF
Internet-Draft of Client-Side Image Maps
defines an area tag.
This tag describes a shaped area in a
client-side image
map,
and provides the link that should be followed when the user clicks
there.
Adding the TARGET attribute to the area tag forces the load of that
link
into the targeted window.
Example:
<AREA SHAPE="shape"
COORDS="x,y,..." HREF="url"
TARGET="window_name">
- TARGET in the FORM tag.
- The form tag normally displays the results of a form submission
in the same window
the form was submitted from. By adding the
TARGET
attribute
to the form tag, the result of the form
submission is
instead loaded
into the targeted window.
Example:
<FORM ACTION="url"
TARGET="window_name">
Allowed TARGET names
The window name specified by a TARGET attribute must begin with an
alpha-numeric
character to be valid. All other window names will be
ignored.
Exception: There are magic target names
that all begin with the
underscore
character.
Magic TARGET names
These names all begin with the underscore character.
Any targeted window
name beginning with underscore which is not one
of these names,
will be ignored.
- TARGET="_blank"
- This target will cause the link to always be loaded
in a new blank
window. This window is not named.
- TARGET="_self"
- This target causes the link to always load in the same window the
anchor
was clicked in. This is useful for overriding a globally assigned
BASE target.
- TARGET="_parent"
- This target makes the link load in the immediate FRAMESET
parent of
this document. This defaults to acting like "_self" if the
document has no parent.
- TARGET="_top"
- This target makes the link load in the full body of the window.
This defaults to
acting like "_self" if the document is already
at the top.
It is useful for breaking out of an arbitrarily deep FRAME nesting.

Horizontal Rules
Hair Line<hr>
<hr>
<hr size=#>
<hr size=10>
<hr width=#>
<hr width=50>
<hr width=50%>
<hr align=#> #=left, right
<hr width=50% align=left>
<hr width=50% align=right>
<hr noshade>
<hr noshade width=50%>

[Page][Font][Text Style ][Image][Table][Form][Applet][Frames]
[Marquee][Image Map][Javascript][Entities][Tag Index]