<%@ 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>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<frameset cols="400,*"> <!--放在head中 -->
<frame name="index" src="index1.html" /> <!--左边的导航栏 -->
<frame name="content" src="a.jsp" /> <!-- 右边的主题内容 -->
</frameset>
</head>
<body>
<a href="a.jsp" target="content">frame_a</a> <!-- 通过target="content" 将链接的内容显示在name="content"的frame中 -->
<a href="b.jsp" target="content">frame_b</a>
</body>
</html>
导航框架 frame
最新推荐文章于 2022-07-07 13:50:11 发布