|
If
you want to add more than one HTML file into your
web page, frames are the solution for this issue.
When using frames, the web page will be divided
into number of sections, and each section is a
different page. With the addition of dynamic web
pages, frames became less useful feature, but you
may find useful and easy to use.
● Dividing page into a
frameset:
Usually,
a normal frameset contains at least two frames and
one frameset document. Defining only one frame in
a web page will be totally un-useful.
![framepic.gif (3552 bytes)]()
To set the
total area that each frame will cover on the web
page, you must define a percent value to each one
of them.
To use
frames in the web page, you will need to use two
tags.
Below is
an example of creating a frameset using
<frameset> tag and <frame>
tag:
<frameset
cols="40%,60%"> <frame
src="page1.htm"> <frame
src="page2.htm">
● Using Inline Frames:
This new
HTML features allows you to integrate embedded
frames inside a web page. The frame can be a URL
or an internal document.
The example above shows you how
Linkingexpert's Home Page was integrated into this
page, using <iframe> tag:
<iframe src="www.linkingexperts.com"
height="151" width="301">
▪ Note that Inline Frames technology is
only supported by IE 4.0 and above, and still not
supported by netscape browser.
|