---
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>

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

<h2 id="See_also" name="See_also">関連情報</h2>
<ul>
 <li>{{HTMLElement("p")}} 要素 - <code>HTMLParagraphElement</code> インタフェースを持つ HTML 要素</li>
</ul>