HTMLHRElement Interface


The HTMLHRElement Interface creates a horizontal rule.
IDL Definition

Interface HTMLHRElement : HTMLElement {

           attribute  DOMString                  align;
           attribute  boolean                    noShade;
           attribute  DOMString                  size;
           attribute  DOMString                  width;
};

Semantic Requirements

  1. The align attribute specifies the alignment the rule on the page.
  2. The noShade attribute indicates to the user agent that there should be no shading in the rendering of this element.
  3. The size attribute contains the height of the rule.
  4. The width attribute contains the width of the rule.

If you have comments or suggestions, email me at mbrady@nist.gov