.TH "DOM::HTMLElement" 3 "28 Jan 2004" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
DOM::HTMLElement \- All HTML element interfaces derive from this class.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <html_element.h>\fP
.PP
Inherits \fBDOM::Element\fP.
.PP
Inherited by \fBDOM::HTMLAnchorElement\fP, \fBDOM::HTMLAppletElement\fP, \fBDOM::HTMLAreaElement\fP, \fBDOM::HTMLBaseElement\fP, \fBDOM::HTMLBaseFontElement\fP, \fBDOM::HTMLBlockquoteElement\fP, \fBDOM::HTMLBodyElement\fP, \fBDOM::HTMLBRElement\fP, \fBDOM::HTMLButtonElement\fP, \fBDOM::HTMLDirectoryElement\fP, \fBDOM::HTMLDivElement\fP, \fBDOM::HTMLDListElement\fP, \fBDOM::HTMLFieldSetElement\fP, \fBDOM::HTMLFontElement\fP, \fBDOM::HTMLFormElement\fP, \fBDOM::HTMLFrameElement\fP, \fBDOM::HTMLFrameSetElement\fP, \fBDOM::HTMLHeadElement\fP, \fBDOM::HTMLHeadingElement\fP, \fBDOM::HTMLHRElement\fP, \fBDOM::HTMLHtmlElement\fP, \fBDOM::HTMLIFrameElement\fP, \fBDOM::HTMLImageElement\fP, \fBDOM::HTMLInputElement\fP, \fBDOM::HTMLIsIndexElement\fP, \fBDOM::HTMLLabelElement\fP, \fBDOM::HTMLLegendElement\fP, \fBDOM::HTMLLIElement\fP, \fBDOM::HTMLLinkElement\fP, \fBDOM::HTMLMapElement\fP, \fBDOM::HTMLMenuElement\fP, \fBDOM::HTMLMetaElement\fP, \fBDOM::HTMLModElement\fP, \fBDOM::HTMLObjectElement\fP, \fBDOM::HTMLOListElement\fP, \fBDOM::HTMLOptGroupElement\fP, \fBDOM::HTMLOptionElement\fP, \fBDOM::HTMLParagraphElement\fP, \fBDOM::HTMLParamElement\fP, \fBDOM::HTMLPreElement\fP, \fBDOM::HTMLQuoteElement\fP, \fBDOM::HTMLScriptElement\fP, \fBDOM::HTMLSelectElement\fP, \fBDOM::HTMLStyleElement\fP, \fBDOM::HTMLTableCaptionElement\fP, \fBDOM::HTMLTableCellElement\fP, \fBDOM::HTMLTableColElement\fP, \fBDOM::HTMLTableElement\fP, \fBDOM::HTMLTableRowElement\fP, \fBDOM::HTMLTableSectionElement\fP, \fBDOM::HTMLTextAreaElement\fP, \fBDOM::HTMLTitleElement\fP, and \fBDOM::HTMLUListElement\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBHTMLElement\fP (const  \fBHTMLElement\fP &other)"
.br
.ti -1c
.RI "\fBHTMLElement\fP (const  \fBNode\fP &other)"
.br
.ti -1c
.RI "\fBHTMLElement\fP & \fBoperator=\fP (const  \fBHTMLElement\fP &other)"
.br
.ti -1c
.RI "\fBHTMLElement\fP & \fBoperator=\fP (const  \fBNode\fP &other)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBid\fP () const "
.br
.RI "\fIThe element's identifier. \fP"
.ti -1c
.RI "void \fBsetId\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBid\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBtitle\fP () const "
.br
.RI "\fIThe element's advisory title. \fP"
.ti -1c
.RI "void \fBsetTitle\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBtitle\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBlang\fP () const "
.br
.RI "\fILanguage code defined in RFC 1766. \fP"
.ti -1c
.RI "void \fBsetLang\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBlang\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBdir\fP () const "
.br
.RI "\fISpecifies the base direction of directionally neutral text and the directionality of tables. \fP"
.ti -1c
.RI "void \fBsetDir\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBdir\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBclassName\fP () const "
.br
.RI "\fIThe class attribute of the element. \fP"
.ti -1c
.RI "void \fBsetClassName\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBclassName\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBinnerHTML\fP () const "
.br
.RI "\fIThe HTML code contained in this element. \fP"
.ti -1c
.RI "void \fBsetInnerHTML\fP (const  \fBDOMString\fP &html)"
.br
.RI "\fISet the HTML content of this node. \fP"
.ti -1c
.RI "\fBDOMString\fP \fBinnerText\fP () const "
.br
.RI "\fIThe text contained in this element. \fP"
.ti -1c
.RI "void \fBsetInnerText\fP (const  \fBDOMString\fP &text)"
.br
.RI "\fISet the text content of this node. \fP"
.ti -1c
.RI "\fBHTMLCollection\fP \fBchildren\fP () const "
.br
.RI "\fIRetrieves a collection of nodes that are direct descendants of this node. \fP"
.ti -1c
.RI "\fBHTMLCollection\fP \fBall\fP () const "
.br
.RI "\fIRetrieves a collection of all nodes that descend from this node. \fP"
.ti -1c
.RI "void \fBremoveCSSProperty\fP (const  \fBDOMString\fP &property)"
.br
.ti -1c
.RI "void \fBaddCSSProperty\fP (const  \fBDOMString\fP &property, const  \fBDOMString\fP &value)"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "\fBHTMLElement\fP (HTMLElementImpl *impl)"
.br
.ti -1c
.RI "void \fBassignOther\fP (const  \fBNode\fP &other, int elementId)"
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBHTMLDocument\fP"
.br
.ti -1c
.RI "class \fB::KHTMLView\fP"
.br
.ti -1c
.RI "class \fBHTMLTableElement\fP"
.br
.ti -1c
.RI "class \fBHTMLTableRowElement\fP"
.br
.ti -1c
.RI "class \fBHTMLTableSectionElement\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
All HTML element interfaces derive from this class. 

Elements that only expose the HTML core attributes are represented by the base \fC \fBHTMLElement\fP \fP interface. These elements are as follows:
.PP
HEAD
.PP
special: SUB, SUP, SPAN, BDO
.PP
font: TT, I, B, U, S, STRIKE, BIG, SMALL
.PP
phrase: EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ACRONYM, ABBR
.PP
list: DD, DT
.PP
NOFRAMES, NOSCRIPT
.PP
ADDRESS, CENTER
.PP
Note. The \fC style \fP attribute for this interface is reserved for future usage. 
.PP
Definition at line 68 of file html_element.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBDOMString\fP HTMLElement::id () const"
.PP
The element's identifier. See the \fCid attribute definition \fP in HTML 4.0. Definition at line 65 of file html_element.cpp.
.SS "void HTMLElement::setId (const \fBDOMString\fP &)"
.PP
see \fBid\fP Definition at line 71 of file html_element.cpp.
.SS "\fBDOMString\fP HTMLElement::title () const"
.PP
The element's advisory title. See the \fCtitle attribute definition \fP in HTML 4.0. Definition at line 76 of file html_element.cpp.
.SS "void HTMLElement::setTitle (const \fBDOMString\fP &)"
.PP
see \fBtitle\fP Definition at line 82 of file html_element.cpp.
.SS "\fBDOMString\fP HTMLElement::lang () const"
.PP
Language code defined in RFC 1766. See the \fClang attribute definition \fP in HTML 4.0. Definition at line 87 of file html_element.cpp.
.SS "void HTMLElement::setLang (const \fBDOMString\fP &)"
.PP
see \fBlang\fP Definition at line 93 of file html_element.cpp.
.SS "\fBDOMString\fP HTMLElement::dir () const"
.PP
Specifies the base direction of directionally neutral text and the directionality of tables. See the \fCdir attribute definition \fP in HTML 4.0. Definition at line 98 of file html_element.cpp.
.SS "void HTMLElement::setDir (const \fBDOMString\fP &)"
.PP
see \fBdir\fP Definition at line 104 of file html_element.cpp.
.SS "\fBDOMString\fP HTMLElement::className () const"
.PP
The class attribute of the element. This attribute has been renamed due to conflicts with the 'class' keyword exposed by many languages. See the \fCclass attribute definition \fP in HTML 4.0. Definition at line 109 of file html_element.cpp.
.SS "void HTMLElement::setClassName (const \fBDOMString\fP &)"
.PP
see \fBclassName\fP Definition at line 115 of file html_element.cpp.
.SS "\fBDOMString\fP HTMLElement::innerHTML () const"
.PP
The HTML code contained in this element. This function is not part of the \fBDOM\fP specifications as defined by the w3c. Definition at line 134 of file html_element.cpp.
.SS "void HTMLElement::setInnerHTML (const \fBDOMString\fP & html)"
.PP
Set the HTML content of this node. \fBExceptions:\fP
.RS 4
\fIDOMException\fP NO_MODIFICATION_ALLOWED_ERR: Raised if there is the element does not allow children. 
.RE
.PP
Definition at line 140 of file html_element.cpp.
.SS "\fBDOMString\fP HTMLElement::innerText () const"
.PP
The text contained in this element. This function is not part of the \fBDOM\fP specifications as defined by the w3c. Definition at line 149 of file html_element.cpp.
.SS "void HTMLElement::setInnerText (const \fBDOMString\fP & text)"
.PP
Set the text content of this node. \fBExceptions:\fP
.RS 4
\fIDOMException\fP NO_MODIFICATION_ALLOWED_ERR: Raised if there is the element does not allow children. 
.RE
.PP
Definition at line 155 of file html_element.cpp.
.SS "\fBHTMLCollection\fP HTMLElement::children () const"
.PP
Retrieves a collection of nodes that are direct descendants of this node. IE-specific extension. Definition at line 164 of file html_element.cpp.
.SS "\fBHTMLCollection\fP HTMLElement::all () const"
.PP
Retrieves a collection of all nodes that descend from this node. IE-specific extension. Definition at line 170 of file html_element.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for khtml Library from the source code.
