<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- <frameset>标签:
属性:rows、cols、 可以使用固定值(rows="100rpx,600rpx"),百分比和 * 三种
<frame>标签:
属性:src、name、scrolling、noframes
<a href=“”>的target属性n四个内置的取值:_blank、_parent、_self、_top
<noframes>标签:使用Microsoft Visual Studio.NET创建框架集
-->
<frameset rows="40%,*" cols="333rpx,500rpx">
<!-- 控制页面的显示的大小 -->
<frame src="http://www.baidu.com" name="mingzi" />
<!-- name属性规定框架的名字 -->
<frame src="http://sina.com" />
<frame src="http://home.firefoxchina.cn/?from=extra_start" />
<frame src="http://sina.com" />
<!-- 当浏览器的版本过低无法显示时,显示 <noframes>中的内容-->
<noframes>
<body>您的浏览器的版本过低无法正常显示,建议你升级
</body>
</noframes>
</frameset>

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- <frame>标签:
属性:src、name、scrolling、noresize
<a href=“”>的target属性n四个内置的取值:_blank、_parent、_top
<iframe>标签:一般用于正常页面中加载其他网页 -->
<title>后台管理页面</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
</head>
<body>
<center><h2>
<a href="http://www.baidu.com" target="_blank">baidu</a>
<a href="http://www.baidu.com" target="_parent">百度</a>
<a href="http://www.163.com" target="_top"> 163</a><br></h2>
</center>
<!-- frameborder设置是否显示有边框 0代表无,1代表有 -->
<h3>iframe 中始终显示滚动条:</h3>
<iframe src="http://www.baidu.com" width="900" height="300px" frameborder="1" scrolling="yes" marginheight="550px" marginwidth="100px"></iframe> <br>
</body>
</html>
