aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/htmltableelement/createthead
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/htmltableelement/createthead
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/web/api/htmltableelement/createthead')
-rw-r--r--files/ja/web/api/htmltableelement/createthead/index.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/files/ja/web/api/htmltableelement/createthead/index.html b/files/ja/web/api/htmltableelement/createthead/index.html
new file mode 100644
index 0000000000..b8b76999e2
--- /dev/null
+++ b/files/ja/web/api/htmltableelement/createthead/index.html
@@ -0,0 +1,27 @@
+---
+title: HTMLTableElement.createTHead
+slug: Web/API/HTMLTableElement/createTHead
+tags:
+ - DOM
+ - Gecko
+ - Gecko DOM Reference
+translation_of: Web/API/HTMLTableElement/createTHead
+---
+<div>
+ {{ ApiRef() }}</div>
+<h2 id="Summary" name="Summary">概要</h2>
+<p><b>createTHead</b> は、テーブル内に新たに {{htmlelement("thead")}} 要素を生成します。</p>
+<h2 id="Syntax" name="Syntax">構文</h2>
+<pre class="syntaxbox"><i>HTMLElementObject</i> = table.createTHead()</pre>
+<h2 id="Example" name="Example">例</h2>
+<pre class="brush:js">var mytable = document.getElementById("mytable");
+
+var myhead = mytable.createTHead();
+
+//チェック用コード: myhead == mytable.tHead</pre>
+<h2 id="Notes" name="Notes">注記</h2>
+<p>既にテーブル内に thead 要素が存在した場合、このメソッドはその thead 要素を返します。</p>
+<h2 id="Specification" name="Specification">仕様書</h2>
+<ul>
+ <li><a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-70313345">createTHead</a></li>
+</ul>