HTML <iframe> seamless 属性
标签" href="tag-main.html"><main>
<map>
<mark>
<menu>
<meta>
<meter>
<nav>
<noframes>
<noscript>
<object>
<ol>
<optgroup>
<option>
<output>
<p>
<param>
<pre>
<html>
<picture>
<progress>
<q>
<rp>
<rt>
<ruby>
<s>
<samp>
<script>
<section>
<select>
<small>
<source>
<span>
<strike>
<strong>
<style>
<sub>
<summary>
<sup>
<table>
<tbody>
<td>
<textarea>
< template>
<tfoot>
<th>
<thead>
<time>
<title>
<tr>
<track>
<tt>
<u>
<ul>
<var>
<video>
<wbr>
HTML <iframe> seamless 属性
实例
一个看起来就像包含的文档的一部分的 <iframe>:
<iframe src="demo_iframe.htm" seamless></iframe>
浏览器支持
注意:只有 Chrome 和 Safari 6 支持 <iframe> 标签的 seamless 属性。
定义和用法
seamless 属性是一个布尔属性。
seamless 属性规定 <iframe> 看起来像是包含的文档的一部分(没有边框和滚动条)。
HTML 4.01 与 HTML5之间的差异
seamless 属性是 HTML5 中的新属性。
HTML 与 XHTML 之间的差异
在 XHTML 中,禁止属性简写,seamless 属性必须定义为 <iframe seamless="seamless">。
语法
<iframe seamless>
HTML <iframe> 标签