Write a HTML program to divide the browser window in two horizontal section. Divide the section frame again in two vertical section
Answers
Answer:
The HTML program divides the browser window into two horizontal sections. Divide the section frame again into two vertical sections as given below:
<html>
<frameset rows="50%,50%">
<frame src="a.html">
<frameset cols="50%,50%">
<frame src="b.html">
<frame src="c.html">
</frameset>
</frameset>
</html>
Explanation:
Your browser window can be divided into several pieces, each of which can load a different HTML document, using HTML frames. A frameset is a group of frames that are shown together in the browser window. Similar to how tables are set up: in rows and columns, the window is divided into frames.
To use frames on a page:
Use the frameset> tag rather than the body> tag. The frameset> tag specifies how the window will be divided into frames. Vertical and horizontal frames are defined via the cols and rows attributes of the frameset> element. The frame> tag identifies each frame and specifies which HTML document will open in that frame.
#SPJ3
Answer:
The HTML program divides the browser window into two horizontal sections. Divide the section frame again into two vertical sections as given below:
<html>
<frameset rows="50%,50%">
<frame src="a.html">
<frameset cols="50%,50%">
<frame src="b.html">
<frame src="c.html">
</frameset>
</frameset>
</html>
Explanation:
Your browser window can be divided into several pieces, each of which can load a different HTML document using HTML frames. A frameset is a group of frames shown together in the browser window. Similar to how tables are set up, the window is divided into frames into rows and columns.
For a page to utilize frames:
Use the frameset> tag rather than the body> tag. The frameset> tag specifies how the window will be divided into frames. Vertical and horizontal frames are defined via the cols and rows attributes of the frameset> element. The frame> tag identifies each frame and specifies which HTML document will open in that frame.