class js.html.HRElement extends Element

Available on js

DOM hr elements expose the HTMLHRElement (or HTML 4 HTMLHRElement) interface, which provides special properties (beyond the regular element object interface they also have available to them by inheritance) for manipulating hr elements. In HTML 5, this interface inherits from HTMLElement, but defines no additional members.

Documentation for this class was provided by MDN.

Instance Fields

var align:String

Enumerated attribute indicating alignment of the rule with respect to the surrounding context.

var size:String

The height of the rule.

var width:String

The width of the rule on the page.