org.w3c.dom.html2

Interface HTMLHRElement

public interface HTMLHRElement extends HTMLElement

Create a horizontal rule. See the HR element definition in HTML 4.01.

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

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)
Align the rule on the page.
voidsetNoShade(boolean noShade)
Indicates to the user agent that there should be no shading in the rendering of this element.
voidsetSize(String size)
The height of the rule.
voidsetWidth(String width)
The width of the rule.

Method Detail

getAlign

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

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.01. This attribute is deprecated in HTML 4.01.

getSize

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

getWidth

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

setAlign

public void setAlign(String align)
Align the rule on the page. See the align attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

setNoShade

public void setNoShade(boolean noShade)
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.01. This attribute is deprecated in HTML 4.01.

setSize

public void setSize(String size)
The height of the rule. See the size attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

setWidth

public void setWidth(String width)
The width of the rule. See the width attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.