FileDocCategorySizeDatePackage
HTMLHRElement.javaAPI DocJava SE 5 API1818Fri Aug 26 14:58:40 BST 2005org.w3c.dom.html

HTMLHRElement

public interface HTMLHRElement implements HTMLElement
Create a horizontal rule. See the HR element definition in HTML 4.0.

See also the Document Object Model (DOM) Level 2 Specification.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetAlign()
Align the rule on the page. See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public booleangetNoShade()
Indicates to the user agent that there should be no shading in the rendering of this element. See the noshade attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public java.lang.StringgetSize()
The height of the rule. See the size attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public java.lang.StringgetWidth()
The width of the rule. See the width attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public voidsetAlign(java.lang.String align)

public voidsetNoShade(boolean noShade)

public voidsetSize(java.lang.String size)

public voidsetWidth(java.lang.String width)