aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/html/element/frameset
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:43:23 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:43:23 -0500
commit218934fa2ed1c702a6d3923d2aa2cc6b43c48684 (patch)
treea9ef8ac1e1b8fe4207b6d64d3841bfb8990b6fd0 /files/zh-tw/web/html/element/frameset
parent074785cea106179cb3305637055ab0a009ca74f2 (diff)
downloadtranslated-content-218934fa2ed1c702a6d3923d2aa2cc6b43c48684.tar.gz
translated-content-218934fa2ed1c702a6d3923d2aa2cc6b43c48684.tar.bz2
translated-content-218934fa2ed1c702a6d3923d2aa2cc6b43c48684.zip
initial commit
Diffstat (limited to 'files/zh-tw/web/html/element/frameset')
-rw-r--r--files/zh-tw/web/html/element/frameset/index.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/files/zh-tw/web/html/element/frameset/index.html b/files/zh-tw/web/html/element/frameset/index.html
new file mode 100644
index 0000000000..e1668b035b
--- /dev/null
+++ b/files/zh-tw/web/html/element/frameset/index.html
@@ -0,0 +1,39 @@
+---
+title: <frameset>
+slug: Web/HTML/Element/frameset
+translation_of: Web/HTML/Element/frameset
+---
+<div>{{Deprecated_header}}</div>
+
+<h2 id="概要">概要</h2>
+
+<p><code>&lt;frameset&gt;</code> 是用以包含 {{HTMLElement("frame")}} 元素的元素。</p>
+
+<div class="note"><strong>注意:</strong>因為使用框架的推薦是 {{HTMLElement("iframe")}},這個元素一般不會在現在的網站出現。</div>
+
+<h2 id="屬性">屬性</h2>
+
+<p>如同其他 HTML 元素,這個元素支持<a href="/zh-TW/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">&lt;frameset cols="50%,50%"&gt;
+ &lt;frame src="https://developer.mozilla.org/en/HTML/Element/frameset" /&gt;
+ &lt;frame src="https://developer.mozilla.org/en/HTML/Element/frame" /&gt;
+&lt;/frameset&gt;</pre>
+
+<h2 id="參見">參見</h2>
+
+<ul>
+ <li>{{HTMLElement("frame")}}</li>
+ <li>{{HTMLElement("iframe")}}</li>
+</ul>
+
+<p>{{HTMLRef}}</p>