-
Notifications
You must be signed in to change notification settings - Fork 22.7k
/
Copy pathindex.md
43 lines (29 loc) · 1.36 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
36
37
38
39
40
41
42
43
---
title: HTMLHRElement
slug: Web/API/HTMLHRElement
page-type: web-api-interface
browser-compat: api.HTMLHRElement
---
{{APIRef("HTML DOM")}}
The **`HTMLHRElement`** interface provides special properties (beyond those of the {{domxref("HTMLElement")}} interface it also has available to it by inheritance) for manipulating {{HTMLElement("hr")}} elements.
{{InheritanceDiagram}}
## Instance properties
_Inherits properties from its parent, {{domxref("HTMLElement")}}._
- {{domxref("HTMLHRElement.align")}} {{deprecated_inline}}
- : A string, an enumerated attribute indicating alignment of the rule with respect to the surrounding context.
- {{domxref("HTMLHRElement.color")}} {{deprecated_inline}}
- : A string representing the name of the color of the rule.
- {{domxref("HTMLHRElement.noShade")}} {{deprecated_inline}}
- : A boolean value that sets the rule to have no shading.
- {{domxref("HTMLHRElement.size")}} {{deprecated_inline}}
- : A string representing the height of the rule.
- {{domxref("HTMLHRElement.width")}} {{deprecated_inline}}
- : A string representing the width of the rule on the page.
## Instance methods
_No specific method; inherits methods from its parent, {{domxref("HTMLElement")}}_.
## Specifications
{{Specifications}}
## Browser compatibility
{{Compat}}
## See also
- The HTML element implementing this interface: {{HTMLElement("hr")}}