Target Parent Window

If the line:
<BASE TARGET="2nd_wind">, as in this parent1b.html file,
is included within the <HEAD>..</HEAD> tags; it is not necessary to include the TARGET="2nd_wind" attribute in the anchor tags of files to be opened in that specified window.

This set of examples are like the set: parent1.html, target2.html, ... target4.html
with the expection that the <BASE> tag is used to define the TARGET="2nd_wind" in parent1b.html rather than in target2b.html's and target4b.html's anchor tags.

The code:
<A HREF="target2b.html"> Open</A> target2b.html in the window named in parent1b.html's BASE tag.
produces the following effect:
Open target2b.html in the window named in parent1b.html's BASE tag.

In this fifth example:


No change has been made to create the link from parent1b.html to target3.html, since this file is NOT using the TARGET designated in the BASE tag of parent1b.html.
The code:
<A HREF="target3.html" TARGET="3rd_wind">Open</A> a new window called 3rd_wind.
produces the following effect:
Open a new window called 3rd_wind.

To continue with our illustration:


Our last link from parent1b.html will be to target4b.html, with the TARGET="2nd_wind" designated in parent1b.html the same way we relied on it to work with target2.html.
The code:
<A HREF="target4b.html" >Replace</A> the content in the <B>First Child Window</B>!
produces the following effect:
Replace the content in the First Child Window!

Finally to complete this lesson:


Return to the beginning of this lesson, or
return
to the Table of Contents.
Last Updated: Dec. 13, 1998