0% found this document useful (0 votes)
20 views2 pages

DCIT 21 Lab 7

Uploaded by

leoangel6424
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views2 pages

DCIT 21 Lab 7

Uploaded by

leoangel6424
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Republic of the Philippines

CAVITE STATE UNIVERSITY


Don Severino delas Alas Campus
Indang, Cavite

COLLEGE OF ENGINEERING AND INFORMATION TECHNOLOGY


Department of Information Technology

Name: ____________________________________ Student No.: _________________


Course / Yr. / Sec.: ________________________ Date: _______________________

Laboratory Activity # 7: Frames and Frameset

Title Page

Page1

Page2

Page3

1. Create a new “Blog using frames” folder in your own folder.


2. Using Exercise #5 create a multiple page and copy to “Blog using Frames”
folder.
3. Open the HTML editor.
4. Type the following code and save your work as head.htm:

<html>
<head></head>
<body>
<body bgcolor="yellow">
<center><h1> Type the title of your page </h1></center>
</body>
</html>

5. Type the following code (change the link name and use the appropriate
filename base on the existing HTML files in Blog using frames folder) and save
your work as link.htm:

<html>
<head></head>
<body>
<a href="page1.htm" target="FrmeDisp"> Page1 </a><br>
<a href="page2.htm" target="FrmeDisp"> Page2 </a><br>
<a href="page3.htm" target="FrmeDisp"> Page3 </a><br>
</body>
</html>

6. Type the following code and save your work as background.htm:

<html>
<head></head>
<body>
<body bgcolor="green">
</body>
</html>

7. Change the default background color and set your own/favorite color.
8. Here are some of the Frame Tag Attributes that we will use:

<frameset> - defines the structure of the frames within a window


</frameset>
cols indicates the number of columns
rows indicates the number of rows

<frame> - defines a given frame; required for each frame. No end tag
name defines the name of the frame that is used as a target
src indicates the web page or other file to be displayed
in the frame

9. Type the following code and save your work as main.htm:

<html>
<head>
<frameset rows="20%,80%">
<frame src="head.htm">
<frameset cols="30%,70%">
<frame src="link.htm">
<frame src="background.htm" name="FrmeDisp">
</frameset>
</frameset>
</head>
</html>
10. (You are allowed to change the style of the frame/frameset given.)

Deadline of Submission will be December 20, 2024


Filename Ex.(Surname_Lab7)
https://drive.google.com/drive/folders/1sV2hQFBAQK6xZICs1nErLRnyMr8UKEXP?usp=sha
ring

You might also like