Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > 90467ea6a387df728f7218a11e972208 > files > 5944

kdelibs-apidocs-3.5.6-3.amd64.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>khtml: DOM::Element Class Reference (khtml)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>

  <div id="nav_header_title" align="left">KDE API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_right" style="text-align: left;">
/ <a href="../..">API Reference</a>
 / <a href=".">khtml</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.4.4 -->
<div class="nav">
<a class="el" href="namespaceDOM.html">DOM</a>::<a class="el" href="classDOM_1_1Element.html">Element</a></div>
<h1>DOM::Element Class Reference</h1><!-- doxytag: class="DOM::Element" --><!-- doxytag: inherits="DOM::Node" --><code>#include &lt;<a class="el" href="dom__element_8h-source.html">dom_element.h</a>&gt;</code>
<p>
<p>Inheritance diagram for DOM::Element:
<p><center><img src="classDOM_1_1Element.png" usemap="#DOM::Element_map" border="0" alt=""></center>
<map name="DOM::Element_map">
<area href="classDOM_1_1Node.html" alt="DOM::Node" shape="rect" coords="0,0,200,24">
<area href="classDOM_1_1HTMLElement.html" alt="DOM::HTMLElement" shape="rect" coords="0,112,200,136">
<area href="classDOM_1_1HTMLAnchorElement.html" alt="DOM::HTMLAnchorElement" shape="rect" coords="210,168,410,192">
<area href="classDOM_1_1HTMLAppletElement.html" alt="DOM::HTMLAppletElement" shape="rect" coords="210,224,410,248">
<area href="classDOM_1_1HTMLAreaElement.html" alt="DOM::HTMLAreaElement" shape="rect" coords="210,280,410,304">
<area href="classDOM_1_1HTMLBaseElement.html" alt="DOM::HTMLBaseElement" shape="rect" coords="210,336,410,360">
<area href="classDOM_1_1HTMLBaseFontElement.html" alt="DOM::HTMLBaseFontElement" shape="rect" coords="210,392,410,416">
<area href="classDOM_1_1HTMLBlockquoteElement.html" alt="DOM::HTMLBlockquoteElement" shape="rect" coords="210,448,410,472">
<area href="classDOM_1_1HTMLBodyElement.html" alt="DOM::HTMLBodyElement" shape="rect" coords="210,504,410,528">
<area href="classDOM_1_1HTMLBRElement.html" alt="DOM::HTMLBRElement" shape="rect" coords="210,560,410,584">
<area href="classDOM_1_1HTMLButtonElement.html" alt="DOM::HTMLButtonElement" shape="rect" coords="210,616,410,640">
<area href="classDOM_1_1HTMLDirectoryElement.html" alt="DOM::HTMLDirectoryElement" shape="rect" coords="210,672,410,696">
<area href="classDOM_1_1HTMLDivElement.html" alt="DOM::HTMLDivElement" shape="rect" coords="210,728,410,752">
<area href="classDOM_1_1HTMLDListElement.html" alt="DOM::HTMLDListElement" shape="rect" coords="210,784,410,808">
<area href="classDOM_1_1HTMLFieldSetElement.html" alt="DOM::HTMLFieldSetElement" shape="rect" coords="210,840,410,864">
<area href="classDOM_1_1HTMLFontElement.html" alt="DOM::HTMLFontElement" shape="rect" coords="210,896,410,920">
<area href="classDOM_1_1HTMLFormElement.html" alt="DOM::HTMLFormElement" shape="rect" coords="210,952,410,976">
<area href="classDOM_1_1HTMLFrameElement.html" alt="DOM::HTMLFrameElement" shape="rect" coords="210,1008,410,1032">
<area href="classDOM_1_1HTMLFrameSetElement.html" alt="DOM::HTMLFrameSetElement" shape="rect" coords="210,1064,410,1088">
<area href="classDOM_1_1HTMLHeadElement.html" alt="DOM::HTMLHeadElement" shape="rect" coords="210,1120,410,1144">
<area href="classDOM_1_1HTMLHeadingElement.html" alt="DOM::HTMLHeadingElement" shape="rect" coords="210,1176,410,1200">
<area href="classDOM_1_1HTMLHRElement.html" alt="DOM::HTMLHRElement" shape="rect" coords="210,1232,410,1256">
<area href="classDOM_1_1HTMLHtmlElement.html" alt="DOM::HTMLHtmlElement" shape="rect" coords="210,1288,410,1312">
<area href="classDOM_1_1HTMLIFrameElement.html" alt="DOM::HTMLIFrameElement" shape="rect" coords="210,1344,410,1368">
<area href="classDOM_1_1HTMLImageElement.html" alt="DOM::HTMLImageElement" shape="rect" coords="210,1400,410,1424">
<area href="classDOM_1_1HTMLInputElement.html" alt="DOM::HTMLInputElement" shape="rect" coords="210,1456,410,1480">
<area href="classDOM_1_1HTMLIsIndexElement.html" alt="DOM::HTMLIsIndexElement" shape="rect" coords="210,1512,410,1536">
<area href="classDOM_1_1HTMLLabelElement.html" alt="DOM::HTMLLabelElement" shape="rect" coords="210,1568,410,1592">
<area href="classDOM_1_1HTMLLayerElement.html" alt="DOM::HTMLLayerElement" shape="rect" coords="210,1624,410,1648">
<area href="classDOM_1_1HTMLLegendElement.html" alt="DOM::HTMLLegendElement" shape="rect" coords="210,1680,410,1704">
<area href="classDOM_1_1HTMLLIElement.html" alt="DOM::HTMLLIElement" shape="rect" coords="210,1736,410,1760">
<area href="classDOM_1_1HTMLLinkElement.html" alt="DOM::HTMLLinkElement" shape="rect" coords="210,1792,410,1816">
<area href="classDOM_1_1HTMLMapElement.html" alt="DOM::HTMLMapElement" shape="rect" coords="210,1848,410,1872">
<area href="classDOM_1_1HTMLMenuElement.html" alt="DOM::HTMLMenuElement" shape="rect" coords="210,1904,410,1928">
<area href="classDOM_1_1HTMLMetaElement.html" alt="DOM::HTMLMetaElement" shape="rect" coords="210,1960,410,1984">
<area href="classDOM_1_1HTMLModElement.html" alt="DOM::HTMLModElement" shape="rect" coords="210,2016,410,2040">
<area href="classDOM_1_1HTMLObjectElement.html" alt="DOM::HTMLObjectElement" shape="rect" coords="210,2072,410,2096">
<area href="classDOM_1_1HTMLOListElement.html" alt="DOM::HTMLOListElement" shape="rect" coords="210,2128,410,2152">
<area href="classDOM_1_1HTMLOptGroupElement.html" alt="DOM::HTMLOptGroupElement" shape="rect" coords="210,2184,410,2208">
<area href="classDOM_1_1HTMLOptionElement.html" alt="DOM::HTMLOptionElement" shape="rect" coords="210,2240,410,2264">
<area href="classDOM_1_1HTMLParagraphElement.html" alt="DOM::HTMLParagraphElement" shape="rect" coords="210,2296,410,2320">
<area href="classDOM_1_1HTMLParamElement.html" alt="DOM::HTMLParamElement" shape="rect" coords="210,2352,410,2376">
<area href="classDOM_1_1HTMLPreElement.html" alt="DOM::HTMLPreElement" shape="rect" coords="210,2408,410,2432">
<area href="classDOM_1_1HTMLQuoteElement.html" alt="DOM::HTMLQuoteElement" shape="rect" coords="210,2464,410,2488">
<area href="classDOM_1_1HTMLScriptElement.html" alt="DOM::HTMLScriptElement" shape="rect" coords="210,2520,410,2544">
<area href="classDOM_1_1HTMLSelectElement.html" alt="DOM::HTMLSelectElement" shape="rect" coords="210,2576,410,2600">
<area href="classDOM_1_1HTMLStyleElement.html" alt="DOM::HTMLStyleElement" shape="rect" coords="210,2632,410,2656">
<area href="classDOM_1_1HTMLTableCaptionElement.html" alt="DOM::HTMLTableCaptionElement" shape="rect" coords="210,2688,410,2712">
<area href="classDOM_1_1HTMLTableCellElement.html" alt="DOM::HTMLTableCellElement" shape="rect" coords="210,2744,410,2768">
<area href="classDOM_1_1HTMLTableColElement.html" alt="DOM::HTMLTableColElement" shape="rect" coords="210,2800,410,2824">
<area href="classDOM_1_1HTMLTableElement.html" alt="DOM::HTMLTableElement" shape="rect" coords="210,2856,410,2880">
<area href="classDOM_1_1HTMLTableRowElement.html" alt="DOM::HTMLTableRowElement" shape="rect" coords="210,2912,410,2936">
<area href="classDOM_1_1HTMLTableSectionElement.html" alt="DOM::HTMLTableSectionElement" shape="rect" coords="210,2968,410,2992">
<area href="classDOM_1_1HTMLTextAreaElement.html" alt="DOM::HTMLTextAreaElement" shape="rect" coords="210,3024,410,3048">
<area href="classDOM_1_1HTMLTitleElement.html" alt="DOM::HTMLTitleElement" shape="rect" coords="210,3080,410,3104">
<area href="classDOM_1_1HTMLUListElement.html" alt="DOM::HTMLUListElement" shape="rect" coords="210,3136,410,3160">
</map>
<a href="classDOM_1_1Element-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
By far the vast majority of objects (apart from text) that authors encounter when traversing a document are <code><a class="el" href="classDOM_1_1Element.html">Element</a></code> nodes. 
<p>
Assume the following XML document: &lt;elementExample id="demo"&gt; &lt;subelement1/&gt; &lt;subelement2&gt;&lt;subsubelement/&gt;&lt;/subelement2&gt; &lt;/elementExample&gt;<p>
When represented using <a class="el" href="namespaceDOM.html">DOM</a>, the top node is an <code><a class="el" href="classDOM_1_1Element.html">Element</a></code> node for "elementExample", which contains two child <code><a class="el" href="classDOM_1_1Element.html">Element</a></code> nodes, one for "subelement1" and one for "subelement2". "subelement1" contains no child nodes.<p>
Elements may have attributes associated with them; since the <code><a class="el" href="classDOM_1_1Element.html">Element</a></code> interface inherits from <code><a class="el" href="classDOM_1_1Node.html">Node</a></code> , the generic <code><a class="el" href="classDOM_1_1Node.html">Node</a></code> interface method <code>getAttributes</code> may be used to retrieve the set of all attributes for an element. There are methods on the <code><a class="el" href="classDOM_1_1Element.html">Element</a></code> interface to retrieve either an <code><a class="el" href="classDOM_1_1Attr.html">Attr</a></code> object by name or an attribute value by name. In XML, where an attribute value may contain entity references, an <code><a class="el" href="classDOM_1_1Attr.html">Attr</a></code> object should be retrieved to examine the possibly fairly complex sub-tree representing the attribute value. On the other hand, in HTML, where all attributes have simple string values, methods to directly access an attribute value can safely be used as a convenience.
<p>

<p>
Definition at line <a class="el" href="dom__element_8h-source.html#l00210">210</a> of file <a class="el" href="dom__element_8h-source.html">dom_element.h</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0"></a><!-- doxytag: member="DOM::Element::Element" ref="a0" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a0">Element</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1"></a><!-- doxytag: member="DOM::Element::Element" ref="a1" args="(const Node &amp;other)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a1">Element</a> (const <a class="el" href="classDOM_1_1Node.html">Node</a> &amp;other)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2"></a><!-- doxytag: member="DOM::Element::Element" ref="a2" args="(const Element &amp;other)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a2">Element</a> (const <a class="el" href="classDOM_1_1Element.html">Element</a> &amp;other)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3"></a><!-- doxytag: member="DOM::Element::operator=" ref="a3" args="(const Node &amp;other)" -->
<a class="el" href="classDOM_1_1Element.html">Element</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a3">operator=</a> (const <a class="el" href="classDOM_1_1Node.html">Node</a> &amp;other)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4"></a><!-- doxytag: member="DOM::Element::operator=" ref="a4" args="(const Element &amp;other)" -->
<a class="el" href="classDOM_1_1Element.html">Element</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a4">operator=</a> (const <a class="el" href="classDOM_1_1Element.html">Element</a> &amp;other)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5"></a><!-- doxytag: member="DOM::Element::~Element" ref="a5" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a5">~Element</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a6">tagName</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a7">getAttribute</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a8">setAttribute</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name, const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a9">removeAttribute</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1Attr.html">Attr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a10">getAttributeNode</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1Attr.html">Attr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a11">setAttributeNode</a> (const <a class="el" href="classDOM_1_1Attr.html">Attr</a> &amp;newAttr)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1Attr.html">Attr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a12">removeAttributeNode</a> (const <a class="el" href="classDOM_1_1Attr.html">Attr</a> &amp;oldAttr)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1NodeList.html">NodeList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a13">getElementsByTagName</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1NodeList.html">NodeList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a14">getElementsByTagNameNS</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;namespaceURI, const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;localName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a15">getAttributeNS</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;namespaceURI, const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;localName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a16">setAttributeNS</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;namespaceURI, const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;qualifiedName, const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a17">removeAttributeNS</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;namespaceURI, const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;localName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1Attr.html">Attr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a18">getAttributeNodeNS</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;namespaceURI, const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;localName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1Attr.html">Attr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a19">setAttributeNodeNS</a> (const <a class="el" href="classDOM_1_1Attr.html">Attr</a> &amp;newAttr)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a20">hasAttribute</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a21">hasAttributeNS</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;namespaceURI, const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;localName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1CSSStyleDeclaration.html">CSSStyleDeclaration</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a22">style</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a23">contentEditable</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a24">setContentEditable</a> (bool enabled)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a25"></a><!-- doxytag: member="DOM::Element::isHTMLElement" ref="a25" args="() const " -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a25">isHTMLElement</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1Element.html">Element</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a26">form</a> () const </td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e0"></a><!-- doxytag: member="DOM::Element::khtmlValidAttrName" ref="e0" args="(const DOMString &amp;name)" -->
static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#e0">khtmlValidAttrName</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e1"></a><!-- doxytag: member="DOM::Element::khtmlValidPrefix" ref="e1" args="(const DOMString &amp;name)" -->
static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#e1">khtmlValidPrefix</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e2"></a><!-- doxytag: member="DOM::Element::khtmlValidQualifiedName" ref="e2" args="(const DOMString &amp;name)" -->
static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#e2">khtmlValidQualifiedName</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e3"></a><!-- doxytag: member="DOM::Element::khtmlMalformedQualifiedName" ref="e3" args="(const DOMString &amp;name)" -->
static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#e3">khtmlMalformedQualifiedName</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e4"></a><!-- doxytag: member="DOM::Element::khtmlMalformedPrefix" ref="e4" args="(const DOMString &amp;name)" -->
static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#e4">khtmlMalformedPrefix</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b0"></a><!-- doxytag: member="DOM::Element::Element" ref="b0" args="(ElementImpl *_impl)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#b0">Element</a> (ElementImpl *_impl)</td></tr>

<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="n0"></a><!-- doxytag: member="DOM::Element::Document" ref="n0" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#n0">Document</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="n1"></a><!-- doxytag: member="DOM::Element::HTMLDocument" ref="n1" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#n1">HTMLDocument</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="n2"></a><!-- doxytag: member="DOM::Element::Attr" ref="n2" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#n2">Attr</a></td></tr>

</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a23"></a><!-- doxytag: member="DOM::Element::contentEditable" ref="a23" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool Element::contentEditable           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
not part of the official <a class="el" href="namespaceDOM.html">DOM</a> 
<p>
This method will always reflect the editability setting of this element as specified by a direct or indirect (that means, inherited) assignment to contentEditable or the respective CSS rule, even if design mode is active.<p>
<dl compact><dt><b>Returns:</b></dt><dd>whether this element is editable. </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>3.2 </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classDOM_1_1Element.html#a24">setContentEditable</a></dd></dl>

<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00355">355</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a26"></a><!-- doxytag: member="DOM::Element::form" ref="a26" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1Element.html">Element</a> Element::form           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
KHTML extension to <a class="el" href="namespaceDOM.html">DOM</a> This method returns the associated form element. 
<p>
returns null if this element is not a form-like element or if this elment is not in the scope of a form element.
<p>
Reimplemented in <a class="el" href="classDOM_1_1HTMLButtonElement.html#a6">DOM::HTMLButtonElement</a>, <a class="el" href="classDOM_1_1HTMLFieldSetElement.html#a6">DOM::HTMLFieldSetElement</a>, <a class="el" href="classDOM_1_1HTMLInputElement.html#a10">DOM::HTMLInputElement</a>, <a class="el" href="classDOM_1_1HTMLLegendElement.html#a6">DOM::HTMLLegendElement</a>, <a class="el" href="classDOM_1_1HTMLSelectElement.html#a12">DOM::HTMLSelectElement</a>, <a class="el" href="classDOM_1_1HTMLTextAreaElement.html#a8">DOM::HTMLTextAreaElement</a>, <a class="el" href="classDOM_1_1HTMLOptionElement.html#a6">DOM::HTMLOptionElement</a>, <a class="el" href="classDOM_1_1HTMLIsIndexElement.html#a6">DOM::HTMLIsIndexElement</a>, and <a class="el" href="classDOM_1_1HTMLObjectElement.html#a6">DOM::HTMLObjectElement</a>.
<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00338">338</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="DOM::Element::getAttribute" ref="a7" args="(const DOMString &amp;name)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> Element::getAttribute           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves an attribute value by name. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the attribute to retrieve.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The <code><a class="el" href="classDOM_1_1Attr.html">Attr</a></code> value as a string, or the empty string if that attribute does not have a specified or default value.</dd></dl>

<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00147">147</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a10"></a><!-- doxytag: member="DOM::Element::getAttributeNode" ref="a10" args="(const DOMString &amp;name)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1Attr.html">Attr</a> Element::getAttributeNode           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves an <code><a class="el" href="classDOM_1_1Attr.html">Attr</a></code> node by name. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the attribute to retrieve.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The <code><a class="el" href="classDOM_1_1Attr.html">Attr</a></code> node with the specified attribute name or <code>null</code> if there is no such attribute.</dd></dl>

<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00188">188</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a18"></a><!-- doxytag: member="DOM::Element::getAttributeNodeNS" ref="a18" args="(const DOMString &amp;namespaceURI, const DOMString &amp;localName)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1Attr.html">Attr</a> Element::getAttributeNodeNS           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>namespaceURI</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>localName</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Introduced in <a class="el" href="namespaceDOM.html">DOM</a> Level 2. 
<p>
Retrieves an <a class="el" href="classDOM_1_1Attr.html">Attr</a> node by local name and namespace URI. HTML-only <a class="el" href="namespaceDOM.html">DOM</a> implementations do not need to implement this method.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td>The namespace URI of the attribute to retrieve.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>localName</em>&nbsp;</td><td>The local name of the attribute to retrieve.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="classDOM_1_1Attr.html">Attr</a> node with the specified attribute local name and namespace URI or null if there is no such attribute.</dd></dl>

<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00284">284</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a15"></a><!-- doxytag: member="DOM::Element::getAttributeNS" ref="a15" args="(const DOMString &amp;namespaceURI, const DOMString &amp;localName)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> Element::getAttributeNS           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>namespaceURI</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>localName</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Introduced in <a class="el" href="namespaceDOM.html">DOM</a> Level 2. 
<p>
No Exceptions.<p>
Retrieves an attribute value by local name and namespace URI. HTML-only <a class="el" href="namespaceDOM.html">DOM</a> implementations do not need to implement this method.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td>The namespace URI of the attribute to retrieve.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>localName</em>&nbsp;</td><td>The local name of the attribute to retrieve.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="classDOM_1_1Attr.html">Attr</a> value as a string, or the empty string if that attribute does not have a specified or default value.</dd></dl>

<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00249">249</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a13"></a><!-- doxytag: member="DOM::Element::getElementsByTagName" ref="a13" args="(const DOMString &amp;name)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1NodeList.html">NodeList</a> Element::getElementsByTagName           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns a <code><a class="el" href="classDOM_1_1NodeList.html">NodeList</a></code> of all descendant elements with a given tag name, in the order in which they would be encountered in a preorder traversal of the <code><a class="el" href="classDOM_1_1Element.html">Element</a></code> tree. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the tag to match on. The special value "*" matches all tags.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A list of matching <code><a class="el" href="classDOM_1_1Element.html">Element</a></code> nodes.</dd></dl>

<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00231">231</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a14"></a><!-- doxytag: member="DOM::Element::getElementsByTagNameNS" ref="a14" args="(const DOMString &amp;namespaceURI, const DOMString &amp;localName)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1NodeList.html">NodeList</a> Element::getElementsByTagNameNS           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>namespaceURI</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>localName</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Introduced in <a class="el" href="namespaceDOM.html">DOM</a> Level 2 Returns a <a class="el" href="classDOM_1_1NodeList.html">NodeList</a> of all the descendant Elements with a given local name and namespace URI in the order in which they are encountered in a preorder traversal of this <a class="el" href="classDOM_1_1Element.html">Element</a> tree. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td>The namespace URI of the elements to match on. The special value "*" matches all namespaces.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>localName</em>&nbsp;</td><td>The local name of the elements to match on. The special value "*" matches all local names.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classDOM_1_1NodeList.html">NodeList</a> object containing all the matched Elements.</dd></dl>

<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00242">242</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a20"></a><!-- doxytag: member="DOM::Element::hasAttribute" ref="a20" args="(const DOMString &amp;name)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool Element::hasAttribute           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns true when an attribute with a given name is specified on this element or has a default value, false otherwise. 
<p>
Introduced in <a class="el" href="namespaceDOM.html">DOM</a> Level 2.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the attribute to look for.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>true if an attribute with the given name is specified on this element or has a default value, false otherwise.</dd></dl>

<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00312">312</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a21"></a><!-- doxytag: member="DOM::Element::hasAttributeNS" ref="a21" args="(const DOMString &amp;namespaceURI, const DOMString &amp;localName)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool Element::hasAttributeNS           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>namespaceURI</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>localName</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Introduced in <a class="el" href="namespaceDOM.html">DOM</a> Level 2. 
<p>
Returns true when an attribute with a given local name and namespace URI is specified on this element or has a default value, false otherwise. HTML-only <a class="el" href="namespaceDOM.html">DOM</a> implementations do not need to implement this method.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td>The namespace URI of the attribute to look for.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>localName</em>&nbsp;</td><td>The local name of the attribute to look for.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>true if an attribute with the given local name and namespace URI is specified or has a default value on this element, false otherwise.</dd></dl>

<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00322">322</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="DOM::Element::removeAttribute" ref="a9" args="(const DOMString &amp;name)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void Element::removeAttribute           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Removes an attribute by name. 
<p>
If the removed attribute has a default value it is immediately replaced.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the attribute to remove.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd></dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classDOM_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.</td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00174">174</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a12"></a><!-- doxytag: member="DOM::Element::removeAttributeNode" ref="a12" args="(const Attr &amp;oldAttr)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1Attr.html">Attr</a> Element::removeAttributeNode           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1Attr.html">Attr</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>oldAttr</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Removes the specified attribute. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>oldAttr</em>&nbsp;</td><td>The <code><a class="el" href="classDOM_1_1Attr.html">Attr</a></code> node to remove from the attribute list. If the removed <code><a class="el" href="classDOM_1_1Attr.html">Attr</a></code> has a default value it is immediately replaced.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The <code><a class="el" href="classDOM_1_1Attr.html">Attr</a></code> node that was removed.</dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classDOM_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.</td></tr>
  </table>
</dl>
NOT_FOUND_ERR: Raised if <code>oldAttr</code> is not an attribute of the element.
<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00216">216</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a17"></a><!-- doxytag: member="DOM::Element::removeAttributeNS" ref="a17" args="(const DOMString &amp;namespaceURI, const DOMString &amp;localName)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void Element::removeAttributeNS           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>namespaceURI</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>localName</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Introduced in <a class="el" href="namespaceDOM.html">DOM</a> Level 2. 
<p>
Removes an attribute by local name and namespace URI. If the removed attribute has a default value it is immediately replaced. The replacing attribute has the same namespace URI and local name, as well as the original prefix.<p>
HTML-only <a class="el" href="namespaceDOM.html">DOM</a> implementations do not need to implement this method.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td>The namespace URI of the attribute to remove.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>localName</em>&nbsp;</td><td>The local name of the attribute to remove.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classDOM_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.</td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00271">271</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="DOM::Element::setAttribute" ref="a8" args="(const DOMString &amp;name, const DOMString &amp;value)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void Element::setAttribute           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>value</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Adds a new attribute. 
<p>
If an attribute with that name is already present in the element, its value is changed to be that of the value parameter. This value is a simple string, it is not parsed as it is being set. So any markup (such as syntax to be recognized as an entity reference) is treated as literal text, and needs to be appropriately escaped by the implementation when it is written out. In order to assign an attribute value that contains entity references, the user must create an <code><a class="el" href="classDOM_1_1Attr.html">Attr</a></code> node plus any <code><a class="el" href="classDOM_1_1Text.html">Text</a></code> and <code><a class="el" href="classDOM_1_1EntityReference.html">EntityReference</a></code> nodes, build the appropriate subtree, and use <code>setAttributeNode</code> to assign it as the value of an attribute.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the attribute to create or alter.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>Value to set in string form.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd></dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classDOM_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_CHARACTER_ERR: Raised if the specified name contains an invalid character.</td></tr>
  </table>
</dl>
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00162">162</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a11"></a><!-- doxytag: member="DOM::Element::setAttributeNode" ref="a11" args="(const Attr &amp;newAttr)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1Attr.html">Attr</a> Element::setAttributeNode           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1Attr.html">Attr</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>newAttr</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Adds a new attribute. 
<p>
If an attribute with that name is already present in the element, it is replaced by the new one.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newAttr</em>&nbsp;</td><td>The <code><a class="el" href="classDOM_1_1Attr.html">Attr</a></code> node to add to the attribute list.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>If the <code>newAttr</code> attribute replaces an existing attribute with the same name, the previously existing <code><a class="el" href="classDOM_1_1Attr.html">Attr</a></code> node is returned, otherwise <code>null</code> is returned.</dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classDOM_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>WRONG_DOCUMENT_ERR: Raised if <code>newAttr</code> was created from a different document than the one that created the element.</td></tr>
  </table>
</dl>
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.<p>
INUSE_ATTRIBUTE_ERR: Raised if <code>newAttr</code> is already an attribute of another <code><a class="el" href="classDOM_1_1Element.html">Element</a></code> object. The <a class="el" href="namespaceDOM.html">DOM</a> user must explicitly clone <code><a class="el" href="classDOM_1_1Attr.html">Attr</a></code> nodes to re-use them in other elements.
<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00201">201</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a19"></a><!-- doxytag: member="DOM::Element::setAttributeNodeNS" ref="a19" args="(const Attr &amp;newAttr)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1Attr.html">Attr</a> Element::setAttributeNodeNS           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1Attr.html">Attr</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>newAttr</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Introduced in <a class="el" href="namespaceDOM.html">DOM</a> Level 2. 
<p>
Adds a new attribute. If an attribute with that local name and that namespace URI is already present in the element, it is replaced by the new one.<p>
HTML-only <a class="el" href="namespaceDOM.html">DOM</a> implementations do not need to implement this method.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newAttr</em>&nbsp;</td><td>The <a class="el" href="classDOM_1_1Attr.html">Attr</a> node to add to the attribute list.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>If the newAttr attribute replaces an existing attribute with the same local name and namespace URI, the replaced <a class="el" href="classDOM_1_1Attr.html">Attr</a> node is returned, otherwise null is returned.</dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classDOM_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>WRONG_DOCUMENT_ERR: Raised if newAttr was created from a different document than the one that created the element.</td></tr>
  </table>
</dl>
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.<p>
INUSE_ATTRIBUTE_ERR: Raised if newAttr is already an attribute of another <a class="el" href="classDOM_1_1Element.html">Element</a> object. The <a class="el" href="namespaceDOM.html">DOM</a> user must explicitly clone <a class="el" href="classDOM_1_1Attr.html">Attr</a> nodes to re-use them in other elements.
<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00297">297</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a16"></a><!-- doxytag: member="DOM::Element::setAttributeNS" ref="a16" args="(const DOMString &amp;namespaceURI, const DOMString &amp;qualifiedName, const DOMString &amp;value)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void Element::setAttributeNS           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>namespaceURI</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>qualifiedName</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>value</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Introduced in <a class="el" href="namespaceDOM.html">DOM</a> Level 2. 
<p>
Adds a new attribute. If an attribute with the same local name and namespace URI is already present on the element, its prefix is changed to be the prefix part of the qualifiedName, and its value is changed to be the value parameter. This value is a simple string; it is not parsed as it is being set. So any markup (such as syntax to be recognized as an entity reference) is treated as literal text, and needs to be appropriately escaped by the implementation when it is written out. In order to assign an attribute value that contains entity references, the user must create an <a class="el" href="classDOM_1_1Attr.html">Attr</a> node plus any <a class="el" href="classDOM_1_1Text.html">Text</a> and <a class="el" href="classDOM_1_1EntityReference.html">EntityReference</a> nodes, build the appropriate subtree, and use setAttributeNodeNS or setAttributeNode to assign it as the value of an attribute.<p>
HTML-only <a class="el" href="namespaceDOM.html">DOM</a> implementations do not need to implement this method.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td>The namespace URI of the attribute to create or alter.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>qualifiedName</em>&nbsp;</td><td>The qualified name of the attribute to create or alter.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value to set in string form.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classDOM_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character.</td></tr>
  </table>
</dl>
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.<p>
NAMESPACE_ERR: Raised if the qualifiedName is malformed, if the qualifiedName has a prefix and the namespaceURI is null, if the qualifiedName has a prefix that is "xml" and the namespaceURI is different from "http://www.w3.org/XML/1998/namespace", or if the qualifiedName is "xmlns" and the namespaceURI is different from "http://www.w3.org/2000/xmlns/".
<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00259">259</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a24"></a><!-- doxytag: member="DOM::Element::setContentEditable" ref="a24" args="(bool enabled)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void Element::setContentEditable           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>enabled</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
not part of the official <a class="el" href="namespaceDOM.html">DOM</a> 
<p>
This element can be made editable by setting its contentEditable property to <code>true</code>. The setting will be inherited to its children as well.<p>
Setting or clearing contentEditable when design mode is active will take no effect. However, its status will still be propagated to all child elements.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>enabled</em>&nbsp;</td><td><code>true</code> to make this element editable, <code>false</code> otherwise. </td></tr>
  </table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classDOM_1_1Document.html#a43">DOM::Document::designMode</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>3.2</dd></dl>

<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00360">360</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a22"></a><!-- doxytag: member="DOM::Element::style" ref="a22" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1CSSStyleDeclaration.html">CSSStyleDeclaration</a> Element::style           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Introduced in <a class="el" href="namespaceDOM.html">DOM</a> Level 2 This method is from the <a class="el" href="classDOM_1_1CSSStyleDeclaration.html">CSSStyleDeclaration</a> interface. 
<p>
The style attribute
<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00349">349</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="DOM::Element::tagName" ref="a6" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> Element::tagName           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The name of the element. 
<p>
For example, in: &lt;elementExample id="demo"&gt; ... &lt;/elementExample&gt; , <code>tagName</code> has the value <code>"elementExample"</code> . Note that this is case-preserving in XML, as are all of the operations of the <a class="el" href="namespaceDOM.html">DOM</a>. The HTML <a class="el" href="namespaceDOM.html">DOM</a> returns the <code>tagName</code> of an HTML element in the canonical uppercase form, regardless of the case in the source HTML document.
<p>
Definition at line <a class="el" href="dom__element_8cpp-source.html#l00141">141</a> of file <a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="dom__element_8h-source.html">dom_element.h</a><li><a class="el" href="dom__element_8cpp-source.html">dom_element.cpp</a></ul>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>khtml</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="dirs.html">Directories</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classDOM_1_1AbstractView.html">dom::abstractview</option>,  <option value="classDOM_1_1Attr.html">dom::attr</option>,  <option value="classDOM_1_1CDATASection.html">dom::cdatasection</option>,  <option value="classDOM_1_1CharacterData.html">dom::characterdata</option>,  <option value="classDOM_1_1Comment.html">dom::comment</option>,  <option value="classDOM_1_1Counter.html">dom::counter</option>,  <option value="classDOM_1_1CSS2Azimuth.html">dom::css2azimuth</option>,  <option value="classDOM_1_1CSS2BackgroundPosition.html">dom::css2backgroundposition</option>,  <option value="classDOM_1_1CSS2BorderSpacing.html">dom::css2borderspacing</option>,  <option value="classDOM_1_1CSS2CounterIncrement.html">dom::css2counterincrement</option>,  <option value="classDOM_1_1CSS2CounterReset.html">dom::css2counterreset</option>,  <option value="classDOM_1_1CSS2Cursor.html">dom::css2cursor</option>,  <option value="classDOM_1_1CSS2FontFaceSrc.html">dom::css2fontfacesrc</option>,  <option value="classDOM_1_1CSS2FontFaceWidths.html">dom::css2fontfacewidths</option>,  <option value="classDOM_1_1CSS2PageSize.html">dom::css2pagesize</option>,  <option value="classDOM_1_1CSS2PlayDuring.html">dom::css2playduring</option>,  <option value="classDOM_1_1CSS2Properties.html">dom::css2properties</option>,  <option value="classDOM_1_1CSS2TextShadow.html">dom::css2textshadow</option>,  <option value="classDOM_1_1CSSCharsetRule.html">dom::csscharsetrule</option>,  <option value="classDOM_1_1CSSException.html">dom::cssexception</option>,  <option value="classDOM_1_1CSSFontFaceRule.html">dom::cssfontfacerule</option>,  <option value="classDOM_1_1CSSImportRule.html">dom::cssimportrule</option>,  <option value="classDOM_1_1CSSMediaRule.html">dom::cssmediarule</option>,  <option value="classDOM_1_1CSSPageRule.html">dom::csspagerule</option>,  <option value="classDOM_1_1CSSPrimitiveValue.html">dom::cssprimitivevalue</option>,  <option value="classDOM_1_1CSSRule.html">dom::cssrule</option>,  <option value="classDOM_1_1CSSRuleList.html">dom::cssrulelist</option>,  <option value="classDOM_1_1CSSStyleDeclaration.html">dom::cssstyledeclaration</option>,  <option value="classDOM_1_1CSSStyleRule.html">dom::cssstylerule</option>,  <option value="classDOM_1_1CSSStyleSheet.html">dom::cssstylesheet</option>,  <option value="classDOM_1_1CSSUnknownRule.html">dom::cssunknownrule</option>,  <option value="classDOM_1_1CSSValue.html">dom::cssvalue</option>,  <option value="classDOM_1_1CSSValueList.html">dom::cssvaluelist</option>,  <option value="classDOM_1_1CustomNodeFilter.html">dom::customnodefilter</option>,  <option value="classDOM_1_1Document.html">dom::document</option>,  <option value="classDOM_1_1DocumentFragment.html">dom::documentfragment</option>,  <option value="classDOM_1_1DocumentStyle.html">dom::documentstyle</option>,  <option value="classDOM_1_1DocumentType.html">dom::documenttype</option>,  <option value="classDOM_1_1DOMException.html">dom::domexception</option>,  <option value="classDOM_1_1DOMImplementation.html">dom::domimplementation</option>,  <option value="classDOM_1_1DomShared.html">dom::domshared</option>,  <option value="classDOM_1_1DOMString.html">dom::domstring</option>,  <option value="classDOM_1_1Element.html">dom::element</option>,  <option value="classDOM_1_1Entity.html">dom::entity</option>,  <option value="classDOM_1_1EntityReference.html">dom::entityreference</option>,  <option value="classDOM_1_1Event.html">dom::event</option>,  <option value="classDOM_1_1EventException.html">dom::eventexception</option>,  <option value="classDOM_1_1EventListener.html">dom::eventlistener</option>,  <option value="classDOM_1_1HTMLAnchorElement.html">dom::htmlanchorelement</option>,  <option value="classDOM_1_1HTMLAppletElement.html">dom::htmlappletelement</option>,  <option value="classDOM_1_1HTMLAreaElement.html">dom::htmlareaelement</option>,  <option value="classDOM_1_1HTMLBaseElement.html">dom::htmlbaseelement</option>,  <option value="classDOM_1_1HTMLBaseFontElement.html">dom::htmlbasefontelement</option>,  <option value="classDOM_1_1HTMLBlockquoteElement.html">dom::htmlblockquoteelement</option>,  <option value="classDOM_1_1HTMLBodyElement.html">dom::htmlbodyelement</option>,  <option value="classDOM_1_1HTMLBRElement.html">dom::htmlbrelement</option>,  <option value="classDOM_1_1HTMLButtonElement.html">dom::htmlbuttonelement</option>,  <option value="classDOM_1_1HTMLCollection.html">dom::htmlcollection</option>,  <option value="classDOM_1_1HTMLDirectoryElement.html">dom::htmldirectoryelement</option>,  <option value="classDOM_1_1HTMLDivElement.html">dom::htmldivelement</option>,  <option value="classDOM_1_1HTMLDListElement.html">dom::htmldlistelement</option>,  <option value="classDOM_1_1HTMLDocument.html">dom::htmldocument</option>,  <option value="classDOM_1_1HTMLElement.html">dom::htmlelement</option>,  <option value="classDOM_1_1HTMLFieldSetElement.html">dom::htmlfieldsetelement</option>,  <option value="classDOM_1_1HTMLFontElement.html">dom::htmlfontelement</option>,  <option value="classDOM_1_1HTMLFormCollection.html">dom::htmlformcollection</option>,  <option value="classDOM_1_1HTMLFormElement.html">dom::htmlformelement</option>,  <option value="classDOM_1_1HTMLFrameElement.html">dom::htmlframeelement</option>,  <option value="classDOM_1_1HTMLFrameSetElement.html">dom::htmlframesetelement</option>,  <option value="classDOM_1_1HTMLHeadElement.html">dom::htmlheadelement</option>,  <option value="classDOM_1_1HTMLHeadingElement.html">dom::htmlheadingelement</option>,  <option value="classDOM_1_1HTMLHRElement.html">dom::htmlhrelement</option>,  <option value="classDOM_1_1HTMLHtmlElement.html">dom::htmlhtmlelement</option>,  <option value="classDOM_1_1HTMLIFrameElement.html">dom::htmliframeelement</option>,  <option value="classDOM_1_1HTMLImageElement.html">dom::htmlimageelement</option>,  <option value="classDOM_1_1HTMLInputElement.html">dom::htmlinputelement</option>,  <option value="classDOM_1_1HTMLIsIndexElement.html">dom::htmlisindexelement</option>,  <option value="classDOM_1_1HTMLLabelElement.html">dom::htmllabelelement</option>,  <option value="classDOM_1_1HTMLLayerElement.html">dom::htmllayerelement</option>,  <option value="classDOM_1_1HTMLLegendElement.html">dom::htmllegendelement</option>,  <option value="classDOM_1_1HTMLLIElement.html">dom::htmllielement</option>,  <option value="classDOM_1_1HTMLLinkElement.html">dom::htmllinkelement</option>,  <option value="classDOM_1_1HTMLMapElement.html">dom::htmlmapelement</option>,  <option value="classDOM_1_1HTMLMappedNameCollection.html">dom::htmlmappednamecollection</option>,  <option value="classDOM_1_1HTMLMenuElement.html">dom::htmlmenuelement</option>,  <option value="classDOM_1_1HTMLMetaElement.html">dom::htmlmetaelement</option>,  <option value="classDOM_1_1HTMLModElement.html">dom::htmlmodelement</option>,  <option value="classDOM_1_1HTMLObjectElement.html">dom::htmlobjectelement</option>,  <option value="classDOM_1_1HTMLOListElement.html">dom::htmlolistelement</option>,  <option value="classDOM_1_1HTMLOptGroupElement.html">dom::htmloptgroupelement</option>,  <option value="classDOM_1_1HTMLOptionElement.html">dom::htmloptionelement</option>,  <option value="classDOM_1_1HTMLParagraphElement.html">dom::htmlparagraphelement</option>,  <option value="classDOM_1_1HTMLParamElement.html">dom::htmlparamelement</option>,  <option value="classDOM_1_1HTMLPreElement.html">dom::htmlpreelement</option>,  <option value="classDOM_1_1HTMLQuoteElement.html">dom::htmlquoteelement</option>,  <option value="classDOM_1_1HTMLScriptElement.html">dom::htmlscriptelement</option>,  <option value="classDOM_1_1HTMLSelectElement.html">dom::htmlselectelement</option>,  <option value="classDOM_1_1HTMLStyleElement.html">dom::htmlstyleelement</option>,  <option value="classDOM_1_1HTMLTableCaptionElement.html">dom::htmltablecaptionelement</option>,  <option value="classDOM_1_1HTMLTableCellElement.html">dom::htmltablecellelement</option>,  <option value="classDOM_1_1HTMLTableColElement.html">dom::htmltablecolelement</option>,  <option value="classDOM_1_1HTMLTableElement.html">dom::htmltableelement</option>,  <option value="classDOM_1_1HTMLTableRowElement.html">dom::htmltablerowelement</option>,  <option value="classDOM_1_1HTMLTableSectionElement.html">dom::htmltablesectionelement</option>,  <option value="classDOM_1_1HTMLTextAreaElement.html">dom::htmltextareaelement</option>,  <option value="classDOM_1_1HTMLTitleElement.html">dom::htmltitleelement</option>,  <option value="classDOM_1_1HTMLUListElement.html">dom::htmlulistelement</option>,  <option value="classDOM_1_1LinkStyle.html">dom::linkstyle</option>,  <option value="classDOM_1_1MediaList.html">dom::medialist</option>,  <option value="classDOM_1_1MouseEvent.html">dom::mouseevent</option>,  <option value="classDOM_1_1MutationEvent.html">dom::mutationevent</option>,  <option value="classDOM_1_1NamedNodeMap.html">dom::namednodemap</option>,  <option value="classDOM_1_1Node.html">dom::node</option>,  <option value="classDOM_1_1NodeFilter.html">dom::nodefilter</option>,  <option value="classDOM_1_1NodeIterator.html">dom::nodeiterator</option>,  <option value="classDOM_1_1NodeList.html">dom::nodelist</option>,  <option value="classDOM_1_1Notation.html">dom::notation</option>,  <option value="classDOM_1_1ProcessingInstruction.html">dom::processinginstruction</option>,  <option value="classDOM_1_1Range.html">dom::range</option>,  <option value="classDOM_1_1RangeException.html">dom::rangeexception</option>,  <option value="classDOM_1_1Rect.html">dom::rect</option>,  <option value="classDOM_1_1RGBColor.html">dom::rgbcolor</option>,  <option value="classDOM_1_1StyleSheet.html">dom::stylesheet</option>,  <option value="classDOM_1_1StyleSheetList.html">dom::stylesheetlist</option>,  <option value="classDOM_1_1Text.html">dom::text</option>,  <option value="classDOM_1_1TextEvent.html">dom::textevent</option>,  <option value="classDOM_1_1TreeWalker.html">dom::treewalker</option>,  <option value="classDOM_1_1UIEvent.html">dom::uievent</option>,  <option value="classDOMTreeView.html">domtreeview</option>,  <option value="classKHTMLFactory.html">khtmlfactory</option>,  <option value="classKHTMLImage.html">khtmlimage</option>,  <option value="classKHTMLImageBrowserExtension.html">khtmlimagebrowserextension</option>,  <option value="classKHTMLImageFactory.html">khtmlimagefactory</option>,  <option value="classKHTMLInfoDlg.html">khtmlinfodlg</option>,  <option value="classKHTMLPageCache.html">khtmlpagecache</option>,  <option value="classKHTMLPageCacheDelivery.html">khtmlpagecachedelivery</option>,  <option value="classKHTMLPart.html">khtmlpart</option>,  <option value="classKHTMLPartBrowserExtension.html">khtmlpartbrowserextension</option>,  <option value="classKHTMLPartBrowserHostExtension.html">khtmlpartbrowserhostextension</option>,  <option value="classKHTMLPartIface.html">khtmlpartiface</option>,  <option value="classKHTMLPopupGUIClient.html">khtmlpopupguiclient</option>,  <option value="classKHTMLPrintSettings.html">khtmlprintsettings</option>,  <option value="classKHTMLRun.html">khtmlrun</option>,  <option value="classKHTMLSettings.html">khtmlsettings</option>,  <option value="classKHTMLView.html">khtmlview</option>,  <option value="classKHTMLZoomFactorAction.html">khtmlzoomfactoraction</option>,  <option value="classKJSErrorDlg.html">kjserrordlg</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../arts/html/index.html">arts</a></li><li><a href="../../dcop/html/index.html">dcop</a></li><li><a href="../../dnssd/html/index.html">dnssd</a></li><li><a href="../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>