当前第2页 返回上一页
1 2 3 4 5 6 7 8 9 10 | <body>
<iframe name= "frame1" src= "test1.htm" />
<iframe name= "frame2" src= "test2.htm" />
</body>
<table>
<tr>
<td><iframe id= "" src= "" ></iframe></td><td></td>
</tr>
</table>
|
而frame必须嵌套在frameSet中,且不能再table等标签中使用。
4、frame的高度只能通过frameSet控制;iframe可以自己控制,不能通过frameSet控制
1 2 3 4 5 6 7 8 9 10 11 12 | <!--<body>-->
<frameset rows= "50%,*" >
<frame name= "frame1" src= "test1.htm" />
<frame name= "frame2" src= "test2.htm" />
</frameset>
<!--</body>-->
<body>
<frameset>
<iframe height= "30%" name= "frame1" src= "test1.htm" />
<iframe height= "100" name= "frame2" src= "test2.htm" />
</frameset>
</body>
|
5、如果在同一个页面使用了两个以上的iframe,在IE中可以正常显示,在firefox中只能显示出第一个;使用两个以上的frame在IE和firefox中均可正常
相信看了这些案例你已经掌握了方法,更多精彩请关注php中文网其它相关文章!
相关阅读:
h5和c3怎样做出太阳系行星运转的动画效果
HTML基础知识,关于超链接设置的样式的详细介绍
HTML段落的知识总结
以上就是在HTML中iframe与frame有哪些区别的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
把css放在html的哪里
html怎么设置字体加粗
html怎么设置图片长度
link标签是什么意思?
html怎么设置背景图片全屏平铺?
html网页选择使用哪种浏览器内核渲染的方法
html设置页面内链接的跳转―锚点链接
html sub标签怎么用
html blockquote标签怎么用
html图片不显示怎么办
更多相关阅读请进入《iframe》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » 在HTML中iframe与frame有哪些区别