aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/htmlparagraphelement/index.html
blob: 837864c1cdba27e89ca198cc288f8738a8fc2c53 (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
105
106
107
108
109
110
---
title: HTMLParagraphElement
slug: Web/API/HTMLParagraphElement
tags:
  - DOM
  - DOM Reference
translation_of: Web/API/HTMLParagraphElement
---
<div>
 {{ApiRef}}</div>
<p><code>HTMLParagraphElement</code> インタフェースは {{htmlelement("p")}} 要素を操作する為のインタフェースです。p 要素の操作は {{domxref("element")}} オブジェクトインタフェースからも可能です。{{HTMLVersionInline("5")}} に於いては、このインタフェースは {{domxref("HTMLElement")}} を継承元とするインタフェースとなっています。</p>
<h2 id="Properties" name="Properties">プロパティ</h2>
<p>{{domxref("HTMLElement")}} より継承するプロパティの他に以下のプロパティが定義されていましたが、HTML5 で廃止されています。</p>
<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">名称</th>
   <th scope="col"></th>
   <th scope="col">説明</th>
  </tr>
  <tr>
   <td><code>align</code> {{obsolete_inline}}</td>
   <td>{{domxref("DOMString")}}</td>
   <td>前後のコンテンツからの相対的な配置位置 (<code>"left"</code>, <code>"right"</code>, <code>"justify"</code>, <code>"center"</code>) を定義する為の列挙属性</td>
  </tr>
 </tbody>
</table>
<h2 id="Methods" name="Methods">メソッド</h2>
<p>固有のメソッドは持っていません。{{domxref("HTMLElement")}} から継承するメソッドを利用可能です。</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', "grouping-content.html#the-p-element", "HTMLParagraphElement")}}</td>
   <td>{{Spec2('HTML WHATWG')}}</td>
   <td>{{SpecName("HTML5 W3C")}} より変更無し</td>
  </tr>
  <tr>
   <td>{{SpecName('HTML5 W3C', "grouping-content.html#the-p-element", "HTMLParagraphElement")}}</td>
   <td>{{Spec2('HTML5 W3C')}}</td>
   <td><code>align</code> 属性が廃止された</td>
  </tr>
  <tr>
   <td>{{SpecName('DOM2 HTML', 'html.html#ID-84675076', 'HTMLParagraphElement')}}</td>
   <td>{{Spec2('DOM2 HTML')}}</td>
   <td>{{SpecName("DOM1")}} より変更無し</td>
  </tr>
  <tr>
   <td>{{SpecName('DOM1', 'level-one-html.html#ID-84675076', 'HTMLParagraphElement')}}</td>
   <td>{{Spec2('DOM1')}}</td>
   <td>最初期の定義</td>
  </tr>
 </tbody>
</table>
<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザ実装状況</h2>
<div>
 {{CompatibilityTable}}</div>
<div id="compat-desktop">
 <table class="compat-table">
  <tbody>
   <tr>
    <th>機能</th>
    <th>Chrome</th>
    <th>Firefox (Gecko)</th>
    <th>Internet Explorer</th>
    <th>Opera</th>
    <th>Safari (WebKit)</th>
   </tr>
   <tr>
    <td>基本サポート</td>
    <td>{{CompatVersionUnknown}}</td>
    <td>{{CompatGeckoDesktop(1.0)}}</td>
    <td>{{CompatVersionUnknown}}</td>
    <td>{{CompatVersionUnknown}}</td>
    <td>{{CompatVersionUnknown}}</td>
   </tr>
  </tbody>
 </table>
</div>
<div id="compat-mobile">
 <table class="compat-table">
  <tbody>
   <tr>
    <th>機能</th>
    <th>Android</th>
    <th>Firefox Mobile (Gecko)</th>
    <th>IE Phone</th>
    <th>Opera Mobile</th>
    <th>Safari Mobile</th>
   </tr>
   <tr>
    <td>基本サポート</td>
    <td>{{CompatVersionUnknown}}</td>
    <td>{{CompatGeckoMobile(1.0)}}</td>
    <td>{{CompatVersionUnknown}}</td>
    <td>{{CompatVersionUnknown}}</td>
    <td>{{CompatVersionUnknown}}</td>
   </tr>
  </tbody>
 </table>
</div>
<h2 id="See_also" name="See_also">関連情報</h2>
<ul>
 <li>{{HTMLElement("p")}} 要素 - <code>HTMLParagraphElement</code> インタフェースを持つ HTML 要素</li>
</ul>