frameset

来源:互联网 发布:美国网络安全部队 编辑:程序博客网 时间:2024/05/17 06:13

运行的结果如下:



主的框架集 index.html

</head><frameset rows="30%,*"> <frame src="htm/top.html">  <frameset cols="120,*">    <frame src="htm/title.html">    <frame src="htm/1.html" name="showframe">  </frameset> </frameset><body>

详细页面 title.html

<body><a href="1.html" target="showframe"> 杨幂</a><a href="2.html" target="showframe">高圆圆</a><a href="3.html" target="showframe">诗爷</a></body>


详细的内容介绍页面 1.html

<body>我是大幂幂</body>

注意:

name="showframe"与target="showframe"。

原创粉丝点击