Create a basic frameset in HTML and CSS

Description

The following code shows how to create a basic frameset.

Example


<!-- ww  w.j  a  va  2s  . c  o  m-->
<html>
<head>
<title>Frames example</title>
</head>

<frameset rows="150, *, 100">
<frame src="http://java2s.com" />
<frame src="http://java2s.com" />
<frame src="http://java2s.com" />
<noframes><body>This site uses a technology called frames. Unfortunately, your browser does
not support this technology. Please upgrade your browser and visit us again!</body></noframes>
</frameset>
</html>

Click to view the demo

The code above generates the following result.

Create a basic frameset in HTML and CSS