<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>frameset框架</title>
</head>
<frameset cols="30%,*">
<frameset rows="30%,*">
<frame src="Left_up.html" name="f1">
<frame src="https://www.jd.com/" name="f2">
</frameset>
<frame src="https://www.duba.com/?f=liebaosc" name="f3"></frame>
</frameset>
</html>
Left_up.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Left_up</title>
</head>
<body>
<a href="Left_down.html" target="f2">String</a>
</body>
</html>
Left_down.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Left_down</title>
</head>
<body>
<a href="Right.html" target="f3">String-1</a>
</body>
</html>
Right.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Right</title>
</head>
<body>
<pre>
for(int i=0;i < 5;i++)
{
System.out.println(i);
}
</pre>
</body>
</html>
效果图如下