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:
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.
| HTMLCollection children ()
| children |
[const]
Retrieves a collection of nodes that are direct descendants of this node. IE-specific extension.
| HTMLCollection all ()
| all |
[const]
Retrieves a collection of all nodes that descend from this node. IE-specific extension.
| void removeCSSProperty ( const DOMString& property )
| removeCSSProperty |
| void addCSSProperty ( const DOMString &property, const DOMString &value )
| addCSSProperty |
| void assignOther ( const Node &other, int elementId )
| assignOther |
| Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:43 2003, using kdoc 2.0a54. |