diff options
Diffstat (limited to 'files/ja/web/api/htmltableelement/createcaption/index.html')
| -rw-r--r-- | files/ja/web/api/htmltableelement/createcaption/index.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/files/ja/web/api/htmltableelement/createcaption/index.html b/files/ja/web/api/htmltableelement/createcaption/index.html new file mode 100644 index 0000000000..339ee8b766 --- /dev/null +++ b/files/ja/web/api/htmltableelement/createcaption/index.html @@ -0,0 +1,23 @@ +--- +title: HTMLTableElement.createCaption +slug: Web/API/HTMLTableElement/createCaption +tags: + - DOM + - Gecko + - Gecko DOM Reference +translation_of: Web/API/HTMLTableElement/createCaption +--- +<div> + {{ApiRef}}</div> +<h2 id="Summary" name="Summary">概要</h2> +<p><code>createCaption</code> は、テーブル内に新たに {{htmlelement("caption")}} 要素を生成します。</p> +<h2 id="Syntax" name="Syntax">構文</h2> +<pre class="syntaxbox"><i>HTMLTableElement</i> = table.createCaption()</pre> +<h2 id="Example" name="Example">例</h2> +<pre class="brush:js;gutter:false;">mycap = mytable.createCaption();</pre> +<h2 id="Notes" name="Notes">注記</h2> +<p>既にテーブル内に caption 要素が存在した場合、このメソッドはその caption 要素を返します。</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-96920263">createCaption</a></li> +</ul> |
