org.w3c.dom.html2

Interface HTMLHeadingElement

All Superinterfaces:
Element, HTMLElement
Known Implementing Classes:
HTMLHeadingElementImpl

public interface HTMLHeadingElement
extends HTMLElement

For the H1 to H6 elements. See the H1 element definition in HTML 4.01.

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

Method Summary

String
getAlign()
Horizontal text alignment.
void
setAlign(String align)
Horizontal text alignment.

Methods inherited from interface org.w3c.dom.html2.HTMLElement

getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle

Method Details

getAlign

public String getAlign()
Horizontal text alignment. See the align attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

setAlign

public void setAlign(String align)
Horizontal text alignment. See the align attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.