html5
2018年5月9日index.html 主页面这样写
1 2 3 4 5 6 7 8 9 10 |
<html> <frameset cols="180,*"> <frame src="/example/html/1.html"> <frame src="/example/html/2.html" name="showframe"> </frameset> </html> |
1.html 添加target属性,这样在index页面中点击1.html的连接2.html会改变页面内容
1 |
<a href="/example/html/frame_b.html" target="showframe">Frame b</a> |