\section{DOM::HTMLElement Class Reference}
\label{classDOM_1_1HTMLElement}\index{DOM::HTMLElement@{DOM::HTMLElement}}
All HTML element interfaces derive from this class.  


{\tt \#include $<$html\_\-element.h$>$}

Inheritance diagram for DOM::HTMLElement:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=234pt]{classDOM_1_1HTMLElement__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for DOM::HTMLElement:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=72pt]{classDOM_1_1HTMLElement__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf HTMLElement} (const {\bf HTMLElement} \&other)\label{classDOM_1_1HTMLElement_a1}

\item 
{\bf HTMLElement} (const {\bf Node} \&other)\label{classDOM_1_1HTMLElement_a2}

\item 
{\bf HTMLElement} \& {\bf operator=} (const {\bf HTMLElement} \&other)\label{classDOM_1_1HTMLElement_a3}

\item 
{\bf HTMLElement} \& {\bf operator=} (const {\bf Node} \&other)\label{classDOM_1_1HTMLElement_a4}

\item 
{\bf DOMString} {\bf id} () const 
\item 
void {\bf set\-Id} (const {\bf DOMString} \&)
\item 
{\bf DOMString} {\bf title} () const 
\item 
void {\bf set\-Title} (const {\bf DOMString} \&)
\item 
{\bf DOMString} {\bf lang} () const 
\item 
void {\bf set\-Lang} (const {\bf DOMString} \&)
\item 
{\bf DOMString} {\bf dir} () const 
\item 
void {\bf set\-Dir} (const {\bf DOMString} \&)
\item 
{\bf DOMString} {\bf class\-Name} () const 
\item 
void {\bf set\-Class\-Name} (const {\bf DOMString} \&)
\item 
{\bf DOMString} {\bf inner\-HTML} () const 
\item 
void {\bf set\-Inner\-HTML} (const {\bf DOMString} \&html)
\item 
{\bf DOMString} {\bf inner\-Text} () const 
\item 
void {\bf set\-Inner\-Text} (const {\bf DOMString} \&text)
\item 
{\bf HTMLCollection} {\bf children} () const 
\item 
{\bf HTMLCollection} {\bf all} () const 
\item 
void {\bf remove\-CSSProperty} (const {\bf DOMString} \&property)\label{classDOM_1_1HTMLElement_a22}

\item 
void {\bf add\-CSSProperty} (const {\bf DOMString} \&property, const {\bf DOMString} \&value)\label{classDOM_1_1HTMLElement_a23}

\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
{\bf HTMLElement} (HTMLElement\-Impl $\ast$impl)\label{classDOM_1_1HTMLElement_b0}

\item 
void {\bf assign\-Other} (const {\bf Node} \&other, int element\-Id)\label{classDOM_1_1HTMLElement_b1}

\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf HTMLDocument}\label{classDOM_1_1HTMLElement_n0}

\item 
class {\bf ::KHTMLView}\label{classDOM_1_1HTMLElement_n1}

\item 
class {\bf HTMLTable\-Element}\label{classDOM_1_1HTMLElement_n2}

\item 
class {\bf HTMLTable\-Row\-Element}\label{classDOM_1_1HTMLElement_n3}

\item 
class {\bf HTMLTable\-Section\-Element}\label{classDOM_1_1HTMLElement_n4}

\end{CompactItemize}


\subsection{Detailed Description}
All HTML element interfaces derive from this class. 

Elements that only expose the HTML core attributes are represented by the base {\tt {\bf HTMLElement}{\rm (p.\,\pageref{classDOM_1_1HTMLElement})}} interface. These elements are as follows:

\begin{itemize}
\item {\tt HEAD} \end{itemize}
\begin{itemize}
\item special: {\tt  SUB, SUP, SPAN, BDO }\end{itemize}
\begin{itemize}
\item font: {\tt  TT, I, B, U, S, STRIKE, BIG, SMALL }\end{itemize}
\begin{itemize}
\item phrase: {\tt  EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ACRONYM, ABBR}\end{itemize}
\begin{itemize}
\item list: {\tt  DD, DT }\end{itemize}
\begin{itemize}
\item {\tt  NOFRAMES, NOSCRIPT }\end{itemize}
\begin{itemize}
\item {\tt  ADDRESS, CENTER }\end{itemize}
Note: The {\tt style} attribute for this interface is reserved for future usage. 



Definition at line 69 of file html\_\-element.h.

\subsection{Member Function Documentation}
\index{DOM::HTMLElement@{DOM::HTMLElement}!id@{id}}
\index{id@{id}!DOM::HTMLElement@{DOM::HTMLElement}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLElement::id () const}\label{classDOM_1_1HTMLElement_a6}


The element's identifier. 

See the {\tt id attribute definition } in HTML 4.0. 

Definition at line 65 of file html\_\-element.cpp.\index{DOM::HTMLElement@{DOM::HTMLElement}!setId@{setId}}
\index{setId@{setId}!DOM::HTMLElement@{DOM::HTMLElement}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLElement::set\-Id (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLElement_a7}


see id 



Definition at line 71 of file html\_\-element.cpp.\index{DOM::HTMLElement@{DOM::HTMLElement}!title@{title}}
\index{title@{title}!DOM::HTMLElement@{DOM::HTMLElement}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLElement::title () const}\label{classDOM_1_1HTMLElement_a8}


The element's advisory title. 

See the {\tt title attribute definition } in HTML 4.0. 

Definition at line 76 of file html\_\-element.cpp.\index{DOM::HTMLElement@{DOM::HTMLElement}!setTitle@{setTitle}}
\index{setTitle@{setTitle}!DOM::HTMLElement@{DOM::HTMLElement}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLElement::set\-Title (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLElement_a9}


see title 



Definition at line 82 of file html\_\-element.cpp.\index{DOM::HTMLElement@{DOM::HTMLElement}!lang@{lang}}
\index{lang@{lang}!DOM::HTMLElement@{DOM::HTMLElement}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLElement::lang () const}\label{classDOM_1_1HTMLElement_a10}


Language code defined in RFC 1766. 

See the {\tt lang attribute definition } in HTML 4.0. 

Definition at line 87 of file html\_\-element.cpp.\index{DOM::HTMLElement@{DOM::HTMLElement}!setLang@{setLang}}
\index{setLang@{setLang}!DOM::HTMLElement@{DOM::HTMLElement}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLElement::set\-Lang (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLElement_a11}


see lang 



Definition at line 93 of file html\_\-element.cpp.\index{DOM::HTMLElement@{DOM::HTMLElement}!dir@{dir}}
\index{dir@{dir}!DOM::HTMLElement@{DOM::HTMLElement}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLElement::dir () const}\label{classDOM_1_1HTMLElement_a12}


Specifies the base direction of directionally neutral text and the directionality of tables. 

See the {\tt dir attribute definition } in HTML 4.0. 

Definition at line 98 of file html\_\-element.cpp.\index{DOM::HTMLElement@{DOM::HTMLElement}!setDir@{setDir}}
\index{setDir@{setDir}!DOM::HTMLElement@{DOM::HTMLElement}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLElement::set\-Dir (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLElement_a13}


see dir 



Definition at line 104 of file html\_\-element.cpp.\index{DOM::HTMLElement@{DOM::HTMLElement}!className@{className}}
\index{className@{className}!DOM::HTMLElement@{DOM::HTMLElement}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLElement::class\-Name () const}\label{classDOM_1_1HTMLElement_a14}


The class attribute of the element. 

This attribute has been renamed due to conflicts with the \char`\"{}class\char`\"{} keyword exposed by many languages. See the {\tt class attribute definition } in HTML 4.0. 

Definition at line 109 of file html\_\-element.cpp.\index{DOM::HTMLElement@{DOM::HTMLElement}!setClassName@{setClassName}}
\index{setClassName@{setClassName}!DOM::HTMLElement@{DOM::HTMLElement}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLElement::set\-Class\-Name (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLElement_a15}


see class\-Name 



Definition at line 115 of file html\_\-element.cpp.\index{DOM::HTMLElement@{DOM::HTMLElement}!innerHTML@{innerHTML}}
\index{innerHTML@{innerHTML}!DOM::HTMLElement@{DOM::HTMLElement}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLElement::inner\-HTML () const}\label{classDOM_1_1HTMLElement_a16}


The HTML code contained in this element. 

This function is not part of the {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} specifications as defined by the w3c. 

Definition at line 134 of file html\_\-element.cpp.\index{DOM::HTMLElement@{DOM::HTMLElement}!setInnerHTML@{setInnerHTML}}
\index{setInnerHTML@{setInnerHTML}!DOM::HTMLElement@{DOM::HTMLElement}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLElement::set\-Inner\-HTML (const {\bf DOMString} \& {\em html})}\label{classDOM_1_1HTMLElement_a17}


Set the HTML content of this node. 

\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em DOMException}]NO\_\-MODIFICATION\_\-ALLOWED\_\-ERR: Raised if there is the element does not allow children. \end{description}
\end{Desc}


Definition at line 140 of file html\_\-element.cpp.\index{DOM::HTMLElement@{DOM::HTMLElement}!innerText@{innerText}}
\index{innerText@{innerText}!DOM::HTMLElement@{DOM::HTMLElement}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLElement::inner\-Text () const}\label{classDOM_1_1HTMLElement_a18}


The text contained in this element. 

This function is not part of the {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} specifications as defined by the w3c. 

Definition at line 149 of file html\_\-element.cpp.\index{DOM::HTMLElement@{DOM::HTMLElement}!setInnerText@{setInnerText}}
\index{setInnerText@{setInnerText}!DOM::HTMLElement@{DOM::HTMLElement}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLElement::set\-Inner\-Text (const {\bf DOMString} \& {\em text})}\label{classDOM_1_1HTMLElement_a19}


Set the text content of this node. 

\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em DOMException}]NO\_\-MODIFICATION\_\-ALLOWED\_\-ERR: Raised if there is the element does not allow children. \end{description}
\end{Desc}


Definition at line 155 of file html\_\-element.cpp.\index{DOM::HTMLElement@{DOM::HTMLElement}!children@{children}}
\index{children@{children}!DOM::HTMLElement@{DOM::HTMLElement}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf HTMLCollection} HTMLElement::children () const}\label{classDOM_1_1HTMLElement_a20}


Retrieves a collection of nodes that are direct descendants of this node. 

IE-specific extension. 

Definition at line 164 of file html\_\-element.cpp.\index{DOM::HTMLElement@{DOM::HTMLElement}!all@{all}}
\index{all@{all}!DOM::HTMLElement@{DOM::HTMLElement}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf HTMLCollection} HTMLElement::all () const}\label{classDOM_1_1HTMLElement_a21}


Retrieves a collection of all nodes that descend from this node. 

IE-specific extension. 

Definition at line 170 of file html\_\-element.cpp.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
html\_\-element.h\item 
html\_\-element.cpp\end{CompactItemize}
