[go: up one dir, main page]

0% found this document useful (0 votes)
13 views3 pages

full stack

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

full stack

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

Date : Page No :

c. Aim:
Write a HTML program, to explain the working of
frames, such that page is to be divided into 3 parts on either
direction. (Note: first frame image, second frame paragraph,
third frame hyperlink. And also make sure of of using “no
frame” attribute such that frames to be fixed).
Description:

 rows: Specifies the height of each row in the <frameset>


in percentage or pixels. In this case, it divides the frame into
30%, 40%, and 30% of the page height.
 border: Defines the thickness of the borders between frames
in the <frameset>.
 src: Specifies the source file (HTML document) to be
displayed in a <frame>.
 name: Assigns a name to the frame, which can be used to
target this frame from other pages or links.
 scrolling: Controls whether scrollbars appear in the
frame. Options are "yes," "no," or "auto."

Code:
<html>
<head>
<title>
frameset
</title>
</head>
Page No :

<frameset rows="30%, 40%,30% " border="2">


<h3>image frame</h3>
<frame src="imagef.html" name="frame1" scrolling="no" />
<h3>paragraph frame</h3>
<frame src="paraf.html" name="frame2" scrolling="auto" />
<h3>link frame</h3>
<frame src="linkf.html" name="frame3" scrolling="auto"/>
</frameset>
<noframes>
<body>
<p>
sorry! your browser does not support frames.
</p>
</body>
</noframes>
</html>

Output:
Page No :

By clicking the link

You might also like