1.
frameset 要放在body 和head 之间 ,否则不识别不了
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" http-equiv="refresh" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<frameset rows="*,*", noresize>
<frame src="a.html" />
<frameset rows="*" cols="27%,*">
<frame src="b.html" />
<frame src="c.html" />
</frameset>
</frameset>
<noframes><body>不支持</body></noframes>
<body>
</body>
</html>
2. <a src="#abc">a</a> <a name="abc">b</a> name 为一个描点。
点击a跳转到本页的b位置
属性 target =
_blank 新窗口打开
—self 本身打开
—top
_parent
3.配合使用,通过使用frame 的name属性,可以在指定name打开某网页
<frame src="a.html" name="top" /> a.html 中为 <a src="c.html" target="down"> 此时就会在 down出打开c.html
<frame name="down"/>