aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/htmllegendelement/index.html
blob: 98344cd2d2041a6674fc6934e79bb2d2223b2318 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
---
title: HTMLLegendElement
slug: Web/API/HTMLLegendElement
tags:
  - API
  - HTML DOM
  - Interface
  - Reference
translation_of: Web/API/HTMLLegendElement
---
<div>{{ APIRef("HTML DOM") }}</div>

<p><span class="seoSummary"><strong><code>HTMLLegendElement</code></strong> は、{{HTMLElement("legend")}} 要素のプロパティにアクセスできるようにするインターフェイスです。 {{domxref("HTMLElement")}} インターフェイスからプロパティとメソッドを継承します。</span></p>

<p>{{InheritanceDiagram(600, 120)}}</p>

<h2 id="Properties" name="Properties">プロパティ</h2>

<p><em>親の {{domxref("HTMLElement")}} からプロパティを継承します。</em></p>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">名前</th>
   <th scope="col">説明</th>
   <th scope="col"></th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td><code>form</code> {{readonlyInline}}</td>
   <td>
    <p>この凡例(legend)が属するフォーム。 凡例に親として <code>fieldset</code> 要素がある場合、この属性は親の <code>fieldset</code> 要素の <strong><code>form</code></strong> 属性と同じ値を返します。 それ以外の場合は、<code>null</code> を返します。</p>
   </td>
   <td>{{domxref("HTMLFormElement")}}</td>
  </tr>
  <tr>
   <td><code>accessKey</code></td>
   <td>要素へのアクセスを与える1文字のアクセスキー。</td>
   <td>{{domxref("DOMString")}}</td>
  </tr>
  <tr>
   <td><code>align</code> {{obsolete_inline}}</td>
   <td>フォームのセットに対する相対的な配置。</td>
   <td>{{domxref("DOMString")}}</td>
  </tr>
 </tbody>
</table>

<h2 id="Methods" name="Methods">メソッド</h2>

<p><em>固有のメソッドはありません。 親の {{domxref("HTMLElement")}} からメソッドを継承します。</em></p>

<h2 id="Specifications" name="Specifications">仕様</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">仕様</th>
   <th scope="col">状態</th>
   <th scope="col">コメント</th>
  </tr>
  <tr>
   <td>{{SpecName('HTML WHATWG', "#htmllegendelement", "HTMLLegendElement")}}</td>
   <td>{{Spec2('HTML WHATWG')}}</td>
   <td></td>
  </tr>
  <tr>
   <td>{{SpecName('HTML5.1', "forms.html#the-legend-element", "HTMLLegendElement")}}</td>
   <td>{{Spec2('HTML5.1')}}</td>
   <td></td>
  </tr>
  <tr>
   <td>{{SpecName('HTML5 W3C', "forms.html#the-legend-element", "HTMLLegendElement")}}</td>
   <td>{{Spec2('HTML5 W3C')}}</td>
   <td><code>accessKey</code> プロパティが {{domxref("HTMLElement")}} で定義されました。<br>
    <code>align</code> プロパティが廃止されました。</td>
  </tr>
  <tr>
   <td>{{SpecName('DOM2 HTML', 'html.html#ID-21482039', 'HTMLLegendElement')}}</td>
   <td>{{Spec2('DOM2 HTML')}}</td>
   <td>{{SpecName("DOM1")}} からの変更はありません。</td>
  </tr>
  <tr>
   <td>{{SpecName('DOM1', 'level-one-html.html#ID-21482039', 'HTMLLegendElement')}}</td>
   <td>{{Spec2('DOM1')}}</td>
   <td>初期定義</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>

<div>


<p>{{Compat("api.HTMLLegendElement")}}</p>
</div>

<h2 id="See_also" name="See_also">関連情報</h2>

<ul>
 <li>このインターフェイスを実装する HTML 要素: {{HTMLElement("legend")}}</li>
</ul>