org.w3c.dom.html

Interface HTMLHRElement

public interface HTMLHRElement extends HTMLElement

Create a horizontal rule. See the HR element definition in HTML 4.0.
Method Summary
StringgetAlign()
Align the rule on the page.
booleangetNoShade()
Indicates to the user agent that there should be no shading in the rendering of this element.
StringgetSize()
The height of the rule.
StringgetWidth()
The width of the rule.
voidsetAlign(String align)
voidsetNoShade(boolean noShade)
voidsetSize(String size)
voidsetWidth(String width)

Method Detail

getAlign

public String getAlign()
Align the rule on the page. See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

getNoShade

public boolean getNoShade()
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.

getSize

public String getSize()
The height of the rule. See the size attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

getWidth

public String getWidth()
The width of the rule. See the width attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

setAlign

public void setAlign(String align)

setNoShade

public void setNoShade(boolean noShade)

setSize

public void setSize(String size)

setWidth

public void setWidth(String width)