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.
| 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 <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 & )
| setId |
see id
| DOMString title ()
| 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 & )
| setTitle |
see title
| DOMString lang ()
| 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 & )
| setLang |
see lang
| DOMString dir ()
| 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 & )
| 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 <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 & )
| 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: root@daffy.perf.redhat.com on Mon Jul 14 13:28:10 2003, using kdoc 2.0a53. |