.TH "DOM::HTMLElement" kde3 "11 Jun 2005" "Version Version 3.4.1" "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::HTMLLayerElement\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
.ti -1c
.RI "void \fBsetId\fP (const \fBDOMString\fP &)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBtitle\fP () const "
.br
.ti -1c
.RI "void \fBsetTitle\fP (const \fBDOMString\fP &)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBlang\fP () const "
.br
.ti -1c
.RI "void \fBsetLang\fP (const \fBDOMString\fP &)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBdir\fP () const "
.br
.ti -1c
.RI "void \fBsetDir\fP (const \fBDOMString\fP &)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBclassName\fP () const "
.br
.ti -1c
.RI "void \fBsetClassName\fP (const \fBDOMString\fP &)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBinnerHTML\fP () const "
.br
.ti -1c
.RI "void \fBsetInnerHTML\fP (const \fBDOMString\fP &html)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBinnerText\fP () const "
.br
.ti -1c
.RI "void \fBsetInnerText\fP (const \fBDOMString\fP &text)"
.br
.ti -1c
.RI "\fBHTMLCollection\fP \fBchildren\fP () const "
.br
.ti -1c
.RI "\fBHTMLCollection\fP \fBall\fP () const "
.br
.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
.PD 0
.IP "\(bu" 2
\fCHEAD\fP 
.PP
.PD 0
.IP "\(bu" 2
special: \fC SUB, SUP, SPAN, BDO \fP
.PP
.PD 0
.IP "\(bu" 2
font: \fC TT, I, B, U, S, STRIKE, BIG, SMALL \fP
.PP
.PD 0
.IP "\(bu" 2
phrase: \fC EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ACRONYM, ABBR\fP
.PP
.PD 0
.IP "\(bu" 2
list: \fC DD, DT \fP
.PP
.PD 0
.IP "\(bu" 2
\fC NOFRAMES, NOSCRIPT \fP
.PP
.PD 0
.IP "\(bu" 2
\fC ADDRESS, CENTER \fP
.PP
Note: The \fCstyle\fP attribute for this interface is reserved for future usage. 
.PP
Definition at line 69 of file html_element.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBDOMString\fP HTMLElement::id () const"
.PP
The element's identifier. 
.PP
See the \fCid attribute definition \fP in HTML 4.0. 
.PP
Definition at line 65 of file html_element.cpp.
.SS "void HTMLElement::setId (const \fBDOMString\fP &)"
.PP
see id 
.PP
Definition at line 71 of file html_element.cpp.
.SS "\fBDOMString\fP HTMLElement::title () const"
.PP
The element's advisory title. 
.PP
See the \fCtitle attribute definition \fP in HTML 4.0. 
.PP
Definition at line 76 of file html_element.cpp.
.SS "void HTMLElement::setTitle (const \fBDOMString\fP &)"
.PP
see title 
.PP
Definition at line 82 of file html_element.cpp.
.SS "\fBDOMString\fP HTMLElement::lang () const"
.PP
Language code defined in RFC 1766. 
.PP
See the \fClang attribute definition \fP in HTML 4.0. 
.PP
Definition at line 87 of file html_element.cpp.
.SS "void HTMLElement::setLang (const \fBDOMString\fP &)"
.PP
see lang 
.PP
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. 
.PP
See the \fCdir attribute definition \fP in HTML 4.0. 
.PP
Definition at line 98 of file html_element.cpp.
.SS "void HTMLElement::setDir (const \fBDOMString\fP &)"
.PP
see dir 
.PP
Definition at line 104 of file html_element.cpp.
.SS "\fBDOMString\fP HTMLElement::className () const"
.PP
The class attribute of the element. 
.PP
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. 
.PP
Definition at line 109 of file html_element.cpp.
.SS "void HTMLElement::setClassName (const \fBDOMString\fP &)"
.PP
see className 
.PP
Definition at line 115 of file html_element.cpp.
.SS "\fBDOMString\fP HTMLElement::innerHTML () const"
.PP
The HTML code contained in this element. 
.PP
This function is not part of the \fBDOM\fP specifications as defined by the w3c. 
.PP
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. 
.PP
\fBExceptions:\fP
.RS 4
\fIDOMException\fP NO_MODIFICATION_ALLOWED_ERR: Raised if there is the element does not allow children. 
.RE
.PP

.PP
Definition at line 140 of file html_element.cpp.
.SS "\fBDOMString\fP HTMLElement::innerText () const"
.PP
The text contained in this element. 
.PP
This function is not part of the \fBDOM\fP specifications as defined by the w3c. 
.PP
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. 
.PP
\fBExceptions:\fP
.RS 4
\fIDOMException\fP NO_MODIFICATION_ALLOWED_ERR: Raised if there is the element does not allow children. 
.RE
.PP

.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. 
.PP
IE-specific extension. 
.PP
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. 
.PP
IE-specific extension. 
.PP
Definition at line 170 of file html_element.cpp.

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