APIdia Launch Partner
Top Description Methods
org.w3c.dom.html

public Interface HTMLHRElement

extends HTMLElement

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

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

Since
1.4, DOM Level 2

Method Summary

Modifier and TypeMethod and Description
public String
getAlign()

Align the rule on the page.

public boolean
getNoShade()

Indicates to the user agent that there should be no shading in the rendering of this element.

public String
getSize()

The height of the rule.

public String
getWidth()

The width of the rule.

public void
public void
setNoShade(boolean noShade)

public void
public void
Inherited from org.w3c.dom.html.HTMLElement:
getClassNamegetDirgetIdgetLanggetTitlesetClassNamesetDirsetIdsetLangsetTitle

Method Detail

getAlignback to summary
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.

getNoShadeback to summary
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.

getSizeback to summary
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.

getWidthback to summary
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.

setAlignback to summary
public void setAlign(String align)
setNoShadeback to summary
public void setNoShade(boolean noShade)
setSizeback to summary
public void setSize(String size)
setWidthback to summary
public void setWidth(String width)