what are frames in html?
Answers
HTML frames are used to divide your browser window into multiple sections where each section can load a separate HTML document. A collection of frames in the browser window is known as a frameset. The window is divided into frames in a similar way the tables are organized: into rows and columns.
HTML provides a feature to display more than one web pages on a single screen of the web browser। These web pages are actually displayed using frames. Frames are the different sections or parts of a web page. The <FRAMESET> tag of HTML allows you to divide a browser window into many sections or parts. HTML also provides one more tag named <FRAME> which allows you to display a web page in the frame.
The <FRAME> tag is used under the <FRAMESET> tag. The <FRAMESET> tag is a container tag and written in place of the <BODY> tag. For example ,
<FRAMESET COLS = " 30%, 70%">
<FRAME SRC = "URL">
<FRAME SRC = "URL">
</FRAMESET>
To create a web page using the <FRAMESET> and <FRAME> tags.
<html>
<head>
<title> Frames </title>
</head>
<FRAMESET cols="35%, 65%">
<frame src="Home.html">
<frame src="Activities.html">
</FRAMESET>
</html>
Result is shown in attachment click and see.