-
Notifications
You must be signed in to change notification settings - Fork 22.7k
/
Copy pathindex.md
35 lines (21 loc) · 1.01 KB
/
index.md
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
---
title: HTMLParagraphElement
slug: Web/API/HTMLParagraphElement
page-type: web-api-interface
browser-compat: api.HTMLParagraphElement
---
{{ APIRef("HTML DOM") }}
The **`HTMLParagraphElement`** interface provides special properties (beyond those of the regular {{domxref("HTMLElement")}} object interface it inherits) for manipulating {{HTMLElement("p")}} elements.
{{InheritanceDiagram}}
## Instance properties
_Inherits properties from its parent, {{domxref("HTMLElement")}}._
- {{domxref("HTMLParagraphElement.align")}} {{deprecated_inline}}
- : A string representing an enumerated property indicating alignment of the element's contents with respect to the surrounding context. The possible values are `"left"`, `"right"`, `"justify"`, and `"center"`.
## Instance methods
_No specific methods, inherits methods from its parent, {{domxref("HTMLElement")}}._
## Specifications
{{Specifications}}
## Browser compatibility
{{Compat}}
## See also
- The HTML element implementing this interface: {{ HTMLElement("p") }}.