public interface

HTMLHRElement

implements HTMLElement
org.w3c.dom.html.HTMLHRElement

Class Overview

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

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

Summary

[Expand]
Inherited Constants
From interface org.w3c.dom.Node
Public Methods
abstract String getAlign()
Align the rule on the page.
abstract boolean getNoShade()
Indicates to the user agent that there should be no shading in the rendering of this element.
abstract String getSize()
The height of the rule.
abstract String getWidth()
The width of the rule.
abstract void setAlign(String align)
abstract void setNoShade(boolean noShade)
abstract void setSize(String size)
abstract void setWidth(String width)
[Expand]
Inherited Methods
From interface org.w3c.dom.Element
From interface org.w3c.dom.Node
From interface org.w3c.dom.html.HTMLElement

Public Methods

public abstract 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.

public abstract 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.

public abstract String getSize ()

The height of the rule. See the size attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public abstract String getWidth ()

The width of the rule. See the width attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public abstract void setAlign (String align)

public abstract void setNoShade (boolean noShade)

public abstract void setSize (String size)

public abstract void setWidth (String width)