HTML Frames

Framesets in HTML 


HTML frames are used to divide the browser window into multiple sections (rows/columns). Each section can contain separate html document. The collection of frames in browser window is knows as frameset. Frames are not supported in HTML5.

HTML frames are defined by following tags:

 <frameset> tag is used to divide the window. It specifies how many columns or rows will be in the frameset and how much space will occupy by each of them. <frame> tag is used to specify which HTML document will open into the frame.

Example1 (Dividing the browser window into three columns):

<html>
<head>
 <title> HTML Frames </title>
</head>
<frameset cols="33%,33%,33%">
<frame src="file1.html">
<frame src="file2.html">
<frame src=" file3.html">
</frameset>
</html>

Example2 (Dividing the browser window into two rows):

<html>
<head>
 <title> HTML Frames </title>
</head>
<frameset rows="60%,*">
<frame src="computer.html">
<frame src="demo.html">
</frameset>
</html>

 

Programs

Write a program to implement Lists in HTML

View Solution


Create a HTML page that will display following contents as it is on the web page

View Solution


Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad