HTML Frames: Computer Iv - Fourth Quarter
HTML Frames: Computer Iv - Fourth Quarter
<frameset cols="25%,75%">
<frame src="frame_a.htm" />
<frame src="frame_b.htm" />
</frameset>
VERTICAL FRAMESET
<frameset cols="25%,75%">
<frameset rows=“300,700">
Tag Description
<frameset> Defines a set of frames
<frame /> Defines a sub window (a
frame)
Exercise 4-3
Create a nested frameset that shows a
combination of columns and rows.
Save it inside the your respective
folders.
show output
Source code:
<html> - 1 pt.
<frameset cols="30%,70%"> -3 pts.
<frame src="index.html" /> - 2 pts.
<frame src = “frames3.html" />
</frameset>
</html>
Advantages of Frames
The design of the webpage/website is
simple but organized
Easy navigation
Lets the user have multiple pages in the
same browser
Frames can be used to reduce server load,
as there is no need to reload all the pages
when ever a new page is visited.
Disadvantages of Frames
The web developer must keep track of
more HTML documents
It is difficult to print the entire page
Assignment:
Practice creating navigation frames.