JavaScript Tutorial Free Downloads Download jsEditor Download jsEditor

[HTML][JavaScript][Computer Stuff][Freeing the Mind]

Ken Ward's HTML Tutorial ...

Iframes

Iframes are supported by Microsoft Internet Explorer only. When an iframe is present in a page, then that page can load another page. Unlike normal frames, there is no frames page. The iframe is embedded in a normal page. This is all the advantages of frames without having frames!

The iframe is shown in the right-hand column of the table below. By clicking on the hyperlinks on the left, the target page appears in the iframe (on the right).

There is nothing new in the attributes if you have read the lessons on frames. The iframe is enclosed in the opening and closing tags.

This is the Menu

Page One

Page Two

 

Here is the relevant code:

<table> <tr> <td>This is the Menu</h2>

<!--

#######################

the links to the iframe use the iframe name as the TARGET

####################### -->

<a HREF="p1.htm" target="iframe1">Page One</a>

<a HREF="p2.htm" target="iframe1">Page Two</a>

</td>

<td WIDTH="220" VALIGN="top"><p ALIGN="center">

<!-- ####################### start of iframe tags ####################### -->

<!-- ####################### the text between the start and end tags of the iframe is similar to the noframes tag in regular frames ####################### -->

<IFRAME NAME="iframe1" SRC="p0.htm" ALIGN="top" HEIGHT="100"

WIDTH="400" HSPACE="10" VSPACE="10">

If you can see this, your browser does not support iframes!

</IFRAME>

<!-- ####################### end of iframe tags ####################### -->

</td> </tr> </table>


Let's look at those unassuming but crucial Meta Tags!


[back to: no frames]
[home][contents]
[on to:   Forms]


Most Recent Revision: 18-Oct-98.
Copyright © 1998 Ken J Ward

I am always pleased to hear from you.
Send your comments to Ken Ward
and please visit: The New Life Course