We use Frames to divide the window into multiple sections where each section contains its own individual information.
The main disadvantage with frames is that some smaller devices cannot cope with frames as their screens are not big enough to divide window in multiple sections.
Example:
<!DOCTYPE html>
<html>
<head>
<title>Example Of Frameset</title>
</head>
<frameset rows="20%,60%,20%">
<frame name="top" src="" />
<frame name="main" src="" />
<frame name="bottom" src="" />
<noframes>
<body>
Your browser does not support frames.
</body>
</noframes>
</frameset>
</html>
With <frameset> tag we can split the window into frames. In this, the horizontal frames are determined by the rows attribute of <frameset> whereas tag the vertical frames were determined or defined by cols attribute.
0 Comment(s)