Firefox Tomorrow

web api interface

HTMLHRElement

View on MDN ↗

The HTMLHRElement interface provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating <hr> elements.

Instance properties

Inherits properties from its parent, HTMLElement.

  • align Deprecated
    • : A string, an enumerated attribute indicating alignment of the rule with respect to the surrounding context.
  • color Deprecated
    • : A string representing the name of the color of the rule.
  • noShade Deprecated
    • : A boolean value that sets the rule to have no shading.
  • size Deprecated
    • : A string representing the height of the rule.
  • width Deprecated
    • : A string representing the width of the rule on the page.

Instance methods

No specific method; inherits methods from its parent, HTMLElement.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also

  • The HTML element implementing this interface: <hr>