class HTMLElement

All HTML element interfaces derive from this class. More...

Full nameDOM::HTMLElement
Definition#include <html_element.h>
InheritsDOM::Element
Inherited byHTMLAnchorElement, HTMLAppletElement, HTMLAreaElement, HTMLBRElement, HTMLBaseElement, HTMLBaseFontElement, HTMLBlockquoteElement, HTMLBodyElement, HTMLButtonElement, HTMLDListElement, HTMLDirectoryElement, HTMLDivElement, HTMLFieldSetElement, HTMLFontElement, HTMLFormElement, HTMLFrameElement, HTMLFrameSetElement, HTMLHRElement, HTMLHeadElement, HTMLHeadingElement, HTMLHtmlElement, HTMLIFrameElement, HTMLImageElement, HTMLInputElement, HTMLIsIndexElement, HTMLLIElement, HTMLLabelElement, HTMLLegendElement, HTMLLinkElement, HTMLMapElement, HTMLMenuElement, HTMLMetaElement, HTMLModElement, HTMLOListElement, HTMLObjectElement, HTMLOptGroupElement, HTMLOptionElement, HTMLParagraphElement, HTMLParamElement, HTMLPreElement, HTMLQuoteElement, HTMLScriptElement, HTMLSelectElement, HTMLStyleElement, HTMLTableCaptionElement, HTMLTableCellElement, HTMLTableColElement, HTMLTableElement, HTMLTableRowElement, HTMLTableSectionElement, HTMLTextAreaElement, HTMLTitleElement, HTMLUListElement
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

All HTML element interfaces derive from this class. Elements that only expose the HTML core attributes are represented by the base <code> HTMLElement </code> interface. These elements are as follows:

<ulist> <item> HEAD

</item> <item> special: SUB, SUP, SPAN, BDO

</item> <item> font: TT, I, B, U, S, STRIKE, BIG, SMALL

</item> <item> phrase: EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ACRONYM, ABBR

</item> <item> list: DD, DT

</item> <item> NOFRAMES, NOSCRIPT

</item> <item> ADDRESS, CENTER

</item> </ulist> Note. The <code> style </code> attribute for this interface is reserved for future usage.

DOMString  id ()

[const]

The element's identifier. See the <a href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-id"> id attribute definition </a> in HTML 4.0.

void  setId ( const DOMString & )

see id

DOMString  title ()

[const]

The element's advisory title. See the <a href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-title"> title attribute definition </a> in HTML 4.0.

void  setTitle ( const DOMString & )

see title

DOMString  lang ()

[const]

Language code defined in RFC 1766. See the <a href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#adef-lang"> lang attribute definition </a> in HTML 4.0.

void  setLang ( const DOMString & )

see lang

DOMString  dir ()

[const]

Specifies the base direction of directionally neutral text and the directionality of tables. See the <a href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#adef-dir"> dir attribute definition </a> in HTML 4.0.

void  setDir ( const DOMString & )

see dir

DOMString  className ()

[const]

The class attribute of the element. This attribute has been renamed due to conflicts with the "class" keyword exposed by many languages. See the <a href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-class"> class attribute definition </a> in HTML 4.0.

void  setClassName ( const DOMString & )

see className

DOMString  innerHTML ()

[const]

The HTML code contained in this element. This function is not part of the DOM specifications as defined by the w3c.

void  setInnerHTML ( const DOMString &html )

Set the HTML content of this node.

Throws: DOMException, NO_MODIFICATION_ALLOWED_ERR:, Raised, if, there, is, the, element, does, not, allow, children.

DOMString  innerText ()

[const]

The text contained in this element. This function is not part of the DOM specifications as defined by the w3c.

void  setInnerText ( const DOMString &text )

Set the text content of this node.

Throws: DOMException, NO_MODIFICATION_ALLOWED_ERR:, Raised, if, there, is, the, element, does, not, allow, children.


Generated by: ssk@tauon.ph.unimelb.EDU.AU on Wed May 23 05:55:52 2001, using kdoc 2.0a35.