属性 值 描述 align leftright
top
middle
bottom
规定如何根据周围的元素来对齐 <iframe>。 frameborder 1
0
规定是否显示 <iframe> 周围的边框。 height pixels 规定 <iframe> 的高度。 longdesc URL 规定一个页面,该页面包含了有关 <iframe> 的较长描述。 marginheight pixels 规定 <iframe> 的顶部和底部的边距。 marginwidth pixels 规定 <iframe> 的左侧和右侧的边距。 name name 规定 <iframe> 的名称。 sandbox ""
allow-forms
allow-same-origin
allow-scripts
allow-top-navigation
对 <iframe> 的内容定义一系列额外的限制。 scrolling yes
no
auto
规定是否在 <iframe> 中显示滚动条。 seamless seamless 规定 <iframe> 看起来像是父文档中的一部分。 src URL 规定在 <iframe> 中显示的文档的 URL。 srcdoc HTML_code 规定页面中的 HTML 内容显示在 <iframe> 中。 width pixels 规定 <iframe> 的宽度。
版权声明:
本文来源网络,所有图片文章版权属于原作者,如有侵权,联系删除。
本文网址:https://www.mushiming.com/mjsbk/11065.html