diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/html/element/frameset | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/zh-cn/web/html/element/frameset')
-rw-r--r-- | files/zh-cn/web/html/element/frameset/index.html | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/files/zh-cn/web/html/element/frameset/index.html b/files/zh-cn/web/html/element/frameset/index.html new file mode 100644 index 0000000000..fca2dc7107 --- /dev/null +++ b/files/zh-cn/web/html/element/frameset/index.html @@ -0,0 +1,51 @@ +--- +title: <frameset> +slug: Web/HTML/Element/frameset +tags: + - Deprecated + - Element + - HTML + - Reference + - Web +translation_of: Web/HTML/Element/frameset +--- +<div>{{Deprecated_header}}</div> + +<h2 id="概述">概述</h2> + +<p><code><frameset></code> 是一个用于包含 {{HTMLElement("frame")}} 的 HTML 元素。</p> + +<div class="note"><strong>注意:</strong> 现在不鼓励使用 frame,而是用{{HTMLElement("iframe")}}。现今的网站一般都不使用 frame。</div> + +<h2 id="属性">属性</h2> + +<p>像所有其他的HTML元素一样,这个元素支持<a href="/en-US/HTML/Global_attributes" title="HTML/Global attributes">全局属性</a>。</p> + +<dl> + <dt>{{htmlattrdef("cols")}}</dt> + <dd>这个属性指定一个框架集中列的数目和尺寸。</dd> + <dt>{{htmlattrdef("rows")}}</dt> + <dd>这个属性指定一个框架集中行的数目和尺寸。</dd> +</dl> + +<h2 id="例子">例子</h2> + +<pre class="brush:html"><frameset cols="50%,50%"> + <frame src="https://developer.mozilla.org/en/HTML/Element/frameset" /> + <frame src="https://developer.mozilla.org/en/HTML/Element/frame" /> +</frameset></pre> + +<h2 id="Browser_compatibility">Browser compatibility</h2> + +<div class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</div> + +<p>{{Compat("html.elements.frameset")}}</p> + +<h2 id="参见">参见</h2> + +<ul> + <li>{{HTMLElement("frame")}}</li> + <li>{{HTMLElement("iframe")}}</li> +</ul> + +<p>{{HTMLRef}}</p> |