class HTMLElement

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

Full nameDOM::HTMLElement
Definition#include <html_element.h>
InheritsDOM::Element [public ]
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 HTMLElement interface. These elements are as follows:

HEAD

special: SUB, SUP, SPAN, BDO

font: TT, I, B, U, S, STRIKE, BIG, SMALL

phrase: EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ACRONYM, ABBR

list: DD, DT

NOFRAMES, NOSCRIPT

ADDRESS, CENTER

Note. The style attribute for this interface is reserved for future usage.

 HTMLElement ()

HTMLElement

 HTMLElement (const HTMLElement &other)

HTMLElement

 HTMLElement (const Node &other)

HTMLElement

 HTMLElement (HTMLElementImpl *impl)

HTMLElement

[protected]

HTMLElement &  operator = (const HTMLElement &other)

operator =

Reimplemented from Element.

HTMLElement &  operator = (const Node &other)

operator =

Reimplemented from Element.

 ~HTMLElement ()

~HTMLElement

DOMString  id ()

id

[const]

The element's identifier. See the id attribute definition in HTML 4.0.

void  setId ( const DOMString & )

setId

see id

DOMString  title ()

title

[const]

The element's advisory title. See the title attribute definition in HTML 4.0.

void  setTitle ( const DOMString & )

setTitle

see title

DOMString  lang ()

lang

[const]

Language code defined in RFC 1766. See the lang attribute definition in HTML 4.0.

void  setLang ( const DOMString & )

setLang

see lang

DOMString  dir ()

dir

[const]

Specifies the base direction of directionally neutral text and the directionality of tables. See the dir attribute definition in HTML 4.0.

void  setDir ( const DOMString & )

setDir

see dir

DOMString  className ()

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 class attribute definition in HTML 4.0.

void  setClassName ( const DOMString & )

setClassName

see className

DOMString  innerHTML ()

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 )

setInnerHTML

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 ()

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 )

setInnerText

Set the text content of this node.

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

void  removeCSSProperty ( const DOMString& property )

removeCSSProperty

void  addCSSProperty ( const DOMString &property, const DOMString &value )

addCSSProperty


Generated by: dfaure on kde.faure.org on Thu Jan 17 22:18:15 2002, using kdoc 2.0a53.