Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1f9eb832ba1e4b88d9a5c2b384813bb4 > files > 4157

kdelibs3-apidocs-3.5.10-31.fc15.noarch.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.7.4 -->
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceDOM.html">DOM</a>      </li>
      <li class="navelem"><a class="el" href="classDOM_1_1Element.html">Element</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">DOM::Element Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="DOM::Element" --><!-- doxytag: inherits="DOM::Node" -->
<p>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" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">Element</a></code> nodes.  
 <a href="classDOM_1_1Element.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="dom__element_8h_source.html">dom_element.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for DOM::Element:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classDOM_1_1Element.png" usemap="#DOM::Element_map" alt=""/>
  <map id="DOM::Element_map" name="DOM::Element_map">
<area href="classDOM_1_1Node.html" title="The Node interface is the primary datatype for the entire Document Object Model." alt="DOM::Node" shape="rect" coords="0,0,200,24"/>
<area href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class." alt="DOM::HTMLElement" shape="rect" coords="0,112,200,136"/>
<area href="classDOM_1_1HTMLAnchorElement.html" title="The anchor element." alt="DOM::HTMLAnchorElement" shape="rect" coords="210,168,410,192"/>
<area href="classDOM_1_1HTMLAppletElement.html" title="An embedded Java applet." alt="DOM::HTMLAppletElement" shape="rect" coords="210,224,410,248"/>
<area href="classDOM_1_1HTMLAreaElement.html" title="Client-side image map area definition." alt="DOM::HTMLAreaElement" shape="rect" coords="210,280,410,304"/>
<area href="classDOM_1_1HTMLBaseElement.html" title="Document base URI." alt="DOM::HTMLBaseElement" shape="rect" coords="210,336,410,360"/>
<area href="classDOM_1_1HTMLBaseFontElement.html" title="Base font." alt="DOM::HTMLBaseFontElement" shape="rect" coords="210,392,410,416"/>
<area href="classDOM_1_1HTMLBlockquoteElement.html" title="??? See the BLOCKQUOTE element definition  in HTML 4.0." alt="DOM::HTMLBlockquoteElement" shape="rect" coords="210,448,410,472"/>
<area href="classDOM_1_1HTMLBodyElement.html" title="The HTML document body." alt="DOM::HTMLBodyElement" shape="rect" coords="210,504,410,528"/>
<area href="classDOM_1_1HTMLBRElement.html" title="Force a line break." alt="DOM::HTMLBRElement" shape="rect" coords="210,560,410,584"/>
<area href="classDOM_1_1HTMLButtonElement.html" title="Push button." alt="DOM::HTMLButtonElement" shape="rect" coords="210,616,410,640"/>
<area href="classDOM_1_1HTMLDirectoryElement.html" title="Directory list." alt="DOM::HTMLDirectoryElement" shape="rect" coords="210,672,410,696"/>
<area href="classDOM_1_1HTMLDivElement.html" title="Generic block container." alt="DOM::HTMLDivElement" shape="rect" coords="210,728,410,752"/>
<area href="classDOM_1_1HTMLDListElement.html" title="Definition list." alt="DOM::HTMLDListElement" shape="rect" coords="210,784,410,808"/>
<area href="classDOM_1_1HTMLFieldSetElement.html" title="Organizes form controls into logical groups." alt="DOM::HTMLFieldSetElement" shape="rect" coords="210,840,410,864"/>
<area href="classDOM_1_1HTMLFontElement.html" title="Local change to font." alt="DOM::HTMLFontElement" shape="rect" coords="210,896,410,920"/>
<area href="classDOM_1_1HTMLFormElement.html" title="The FORM element encompasses behavior similar to a collection and an element." alt="DOM::HTMLFormElement" shape="rect" coords="210,952,410,976"/>
<area href="classDOM_1_1HTMLFrameElement.html" title="Create a frame." alt="DOM::HTMLFrameElement" shape="rect" coords="210,1008,410,1032"/>
<area href="classDOM_1_1HTMLFrameSetElement.html" title="Create a grid of frames." alt="DOM::HTMLFrameSetElement" shape="rect" coords="210,1064,410,1088"/>
<area href="classDOM_1_1HTMLHeadElement.html" title="Document head information." alt="DOM::HTMLHeadElement" shape="rect" coords="210,1120,410,1144"/>
<area href="classDOM_1_1HTMLHeadingElement.html" title="For the H1 to H6 elements." alt="DOM::HTMLHeadingElement" shape="rect" coords="210,1176,410,1200"/>
<area href="classDOM_1_1HTMLHRElement.html" title="Create a horizontal rule." alt="DOM::HTMLHRElement" shape="rect" coords="210,1232,410,1256"/>
<area href="classDOM_1_1HTMLHtmlElement.html" title="Root of an HTML document." alt="DOM::HTMLHtmlElement" shape="rect" coords="210,1288,410,1312"/>
<area href="classDOM_1_1HTMLIFrameElement.html" title="Inline subwindows." alt="DOM::HTMLIFrameElement" shape="rect" coords="210,1344,410,1368"/>
<area href="classDOM_1_1HTMLImageElement.html" title="Embedded image." alt="DOM::HTMLImageElement" shape="rect" coords="210,1400,410,1424"/>
<area href="classDOM_1_1HTMLInputElement.html" title="Form control." alt="DOM::HTMLInputElement" shape="rect" coords="210,1456,410,1480"/>
<area href="classDOM_1_1HTMLIsIndexElement.html" title="This element is used for single-line text input." alt="DOM::HTMLIsIndexElement" shape="rect" coords="210,1512,410,1536"/>
<area href="classDOM_1_1HTMLLabelElement.html" title="Form field label text." alt="DOM::HTMLLabelElement" shape="rect" coords="210,1568,410,1592"/>
<area href="classDOM_1_1HTMLLayerElement.html" title="Layer container for Netscape 4.x compatability." alt="DOM::HTMLLayerElement" shape="rect" coords="210,1624,410,1648"/>
<area href="classDOM_1_1HTMLLegendElement.html" title="Provides a caption for a FIELDSET grouping." alt="DOM::HTMLLegendElement" shape="rect" coords="210,1680,410,1704"/>
<area href="classDOM_1_1HTMLLIElement.html" title="List item." alt="DOM::HTMLLIElement" shape="rect" coords="210,1736,410,1760"/>
<area href="classDOM_1_1HTMLLinkElement.html" title="The LINK element specifies a link to an external resource, and defines this document&#39;s relationship t..." alt="DOM::HTMLLinkElement" shape="rect" coords="210,1792,410,1816"/>
<area href="classDOM_1_1HTMLMapElement.html" title="Client-side image map." alt="DOM::HTMLMapElement" shape="rect" coords="210,1848,410,1872"/>
<area href="classDOM_1_1HTMLMenuElement.html" title="Menu list." alt="DOM::HTMLMenuElement" shape="rect" coords="210,1904,410,1928"/>
<area href="classDOM_1_1HTMLMetaElement.html" title="This contains generic meta-information about the document." alt="DOM::HTMLMetaElement" shape="rect" coords="210,1960,410,1984"/>
<area href="classDOM_1_1HTMLModElement.html" title="Notice of modification to part of a document." alt="DOM::HTMLModElement" shape="rect" coords="210,2016,410,2040"/>
<area href="classDOM_1_1HTMLObjectElement.html" title="Generic embedded object." alt="DOM::HTMLObjectElement" shape="rect" coords="210,2072,410,2096"/>
<area href="classDOM_1_1HTMLOListElement.html" title="Ordered list." alt="DOM::HTMLOListElement" shape="rect" coords="210,2128,410,2152"/>
<area href="classDOM_1_1HTMLOptGroupElement.html" title="Group options together in logical subdivisions." alt="DOM::HTMLOptGroupElement" shape="rect" coords="210,2184,410,2208"/>
<area href="classDOM_1_1HTMLOptionElement.html" title="A selectable choice." alt="DOM::HTMLOptionElement" shape="rect" coords="210,2240,410,2264"/>
<area href="classDOM_1_1HTMLParagraphElement.html" title="Paragraphs." alt="DOM::HTMLParagraphElement" shape="rect" coords="210,2296,410,2320"/>
<area href="classDOM_1_1HTMLParamElement.html" title="Parameters fed to the OBJECT element." alt="DOM::HTMLParamElement" shape="rect" coords="210,2352,410,2376"/>
<area href="classDOM_1_1HTMLPreElement.html" title="Preformatted text." alt="DOM::HTMLPreElement" shape="rect" coords="210,2408,410,2432"/>
<area href="classDOM_1_1HTMLQuoteElement.html" title="For the Q and BLOCKQUOTE elements." alt="DOM::HTMLQuoteElement" shape="rect" coords="210,2464,410,2488"/>
<area href="classDOM_1_1HTMLScriptElement.html" title="Script statements." alt="DOM::HTMLScriptElement" shape="rect" coords="210,2520,410,2544"/>
<area href="classDOM_1_1HTMLSelectElement.html" title="The select element allows the selection of an option." alt="DOM::HTMLSelectElement" shape="rect" coords="210,2576,410,2600"/>
<area href="classDOM_1_1HTMLStyleElement.html" title="Style information." alt="DOM::HTMLStyleElement" shape="rect" coords="210,2632,410,2656"/>
<area href="classDOM_1_1HTMLTableCaptionElement.html" title="Table caption See the CAPTION element definition  in HTML 4.0." alt="DOM::HTMLTableCaptionElement" shape="rect" coords="210,2688,410,2712"/>
<area href="classDOM_1_1HTMLTableCellElement.html" title="The object used to represent the TH and TD elements." alt="DOM::HTMLTableCellElement" shape="rect" coords="210,2744,410,2768"/>
<area href="classDOM_1_1HTMLTableColElement.html" title="Regroups the COL and COLGROUP elements." alt="DOM::HTMLTableColElement" shape="rect" coords="210,2800,410,2824"/>
<area href="classDOM_1_1HTMLTableElement.html" title="The create* and delete* methods on the table allow authors to construct and modify tables..." alt="DOM::HTMLTableElement" shape="rect" coords="210,2856,410,2880"/>
<area href="classDOM_1_1HTMLTableRowElement.html" title="A row in a table." alt="DOM::HTMLTableRowElement" shape="rect" coords="210,2912,410,2936"/>
<area href="classDOM_1_1HTMLTableSectionElement.html" title="The THEAD , TFOOT , and TBODY elements." alt="DOM::HTMLTableSectionElement" shape="rect" coords="210,2968,410,2992"/>
<area href="classDOM_1_1HTMLTextAreaElement.html" title="Multi-line text field." alt="DOM::HTMLTextAreaElement" shape="rect" coords="210,3024,410,3048"/>
<area href="classDOM_1_1HTMLTitleElement.html" title="The document title." alt="DOM::HTMLTitleElement" shape="rect" coords="210,3080,410,3104"/>
<area href="classDOM_1_1HTMLUListElement.html" title="Unordered list." alt="DOM::HTMLUListElement" shape="rect" coords="210,3136,410,3160"/>
</map>
 </div></div>

<p><a href="classDOM_1_1Element-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad816b06d89a062873db6d8a324fa36ed"></a><!-- doxytag: member="DOM::Element::Element" ref="ad816b06d89a062873db6d8a324fa36ed" args="(const Node &amp;other)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>Element</b> (const <a class="el" href="classDOM_1_1Node.html">Node</a> &amp;other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0673de1013bf72d6eea8938c587d362e"></a><!-- doxytag: member="DOM::Element::Element" ref="a0673de1013bf72d6eea8938c587d362e" args="(const Element &amp;other)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>Element</b> (const <a class="el" href="classDOM_1_1Element.html">Element</a> &amp;other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2ff30f6bfe50455430096d1932389c7c"></a><!-- doxytag: member="DOM::Element::operator=" ref="a2ff30f6bfe50455430096d1932389c7c" args="(const Node &amp;other)" -->
<a class="el" href="classDOM_1_1Element.html">Element</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classDOM_1_1Node.html">Node</a> &amp;other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adf2e51aa04e11422e5bca8274c8cf710"></a><!-- doxytag: member="DOM::Element::operator=" ref="adf2e51aa04e11422e5bca8274c8cf710" args="(const Element &amp;other)" -->
<a class="el" href="classDOM_1_1Element.html">Element</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classDOM_1_1Element.html">Element</a> &amp;other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a446e8db7b0260839cd29fc24be3dcebb">tagName</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e">getAttribute</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4">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" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a33df4936b209cf25749eee288fac41bf">removeAttribute</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDOM_1_1Attr.html">Attr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a58dd3209f1f0f5318e400dccc3b3f5e9">getAttributeNode</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDOM_1_1Attr.html">Attr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a2044f42ad441d6ac80764aacb64e3f8b">setAttributeNode</a> (const <a class="el" href="classDOM_1_1Attr.html">Attr</a> &amp;newAttr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDOM_1_1Attr.html">Attr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#af695d2e00417f3f231172bb3131513de">removeAttributeNode</a> (const <a class="el" href="classDOM_1_1Attr.html">Attr</a> &amp;oldAttr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDOM_1_1NodeList.html">NodeList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a55b115101d3d1a4bca32fce585978d99">getElementsByTagName</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDOM_1_1NodeList.html">NodeList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#aaf6fb06dcfc36ad0c6c2dd145a001739">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" align="right" valign="top"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a18841b5646f62d012c75df91e389a72a">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" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#ac96aaf4dbe600fecefd575b9828abd48">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" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#abef7bc7a38c0047c61c617589885d67f">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" align="right" valign="top"><a class="el" href="classDOM_1_1Attr.html">Attr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#aa2627fb706b1e85531d8aa3d2961433f">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" align="right" valign="top"><a class="el" href="classDOM_1_1Attr.html">Attr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a4c400d01aed1078ec9412ee4a11c5444">setAttributeNodeNS</a> (const <a class="el" href="classDOM_1_1Attr.html">Attr</a> &amp;newAttr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a2f33b1f0181c47514d6514eb17e4185a">hasAttribute</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a7986200200f19f00805687646a781737">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" align="right" valign="top"><a class="el" href="classDOM_1_1CSSStyleDeclaration.html">CSSStyleDeclaration</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#a6e68b9cab59a4fee2b275ab5c5c3b338">style</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#ae3936acfc48f64f0487bb49e3298535d">contentEditable</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#ae374f766f1e9f81280e294465818bd33">setContentEditable</a> (bool enabled)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad4a15fdce998e986db9b9e53d39a89ca"></a><!-- doxytag: member="DOM::Element::isHTMLElement" ref="ad4a15fdce998e986db9b9e53d39a89ca" args="() const " -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isHTMLElement</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDOM_1_1Element.html">Element</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1Element.html#ae9f936986d995b164f63b480704a8f1b">form</a> () const </td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a150eb587bc697e91567e4f5ceed5c041"></a><!-- doxytag: member="DOM::Element::khtmlValidAttrName" ref="a150eb587bc697e91567e4f5ceed5c041" args="(const DOMString &amp;name)" -->
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>khtmlValidAttrName</b> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a767b11ee3337f64511bfebbbed1b9ffd"></a><!-- doxytag: member="DOM::Element::khtmlValidPrefix" ref="a767b11ee3337f64511bfebbbed1b9ffd" args="(const DOMString &amp;name)" -->
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>khtmlValidPrefix</b> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8e141ad4e83adfb7d907437d0e3c0549"></a><!-- doxytag: member="DOM::Element::khtmlValidQualifiedName" ref="a8e141ad4e83adfb7d907437d0e3c0549" args="(const DOMString &amp;name)" -->
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>khtmlValidQualifiedName</b> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac5254f9f83762ef5031caa4005df7fad"></a><!-- doxytag: member="DOM::Element::khtmlMalformedQualifiedName" ref="ac5254f9f83762ef5031caa4005df7fad" args="(const DOMString &amp;name)" -->
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>khtmlMalformedQualifiedName</b> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afe4e6ebd738009516b9697ca5292d3c9"></a><!-- doxytag: member="DOM::Element::khtmlMalformedPrefix" ref="afe4e6ebd738009516b9697ca5292d3c9" args="(const DOMString &amp;name)" -->
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>khtmlMalformedPrefix</b> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;name)</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac34f9bed5ad37c623272ac97a1d90e8c"></a><!-- doxytag: member="DOM::Element::Element" ref="ac34f9bed5ad37c623272ac97a1d90e8c" args="(ElementImpl *_impl)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>Element</b> (ElementImpl *_impl)</td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a883538034e58fc5c0de7d4e4cab3cef7"></a><!-- doxytag: member="DOM::Element::Document" ref="a883538034e58fc5c0de7d4e4cab3cef7" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>Document</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abde80ad00ac08c100865d6a188fe4f36"></a><!-- doxytag: member="DOM::Element::HTMLDocument" ref="abde80ad00ac08c100865d6a188fe4f36" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>HTMLDocument</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a037ad7d3aabc40f3a1801fbaa7c09650"></a><!-- doxytag: member="DOM::Element::Attr" ref="a037ad7d3aabc40f3a1801fbaa7c09650" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>Attr</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>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" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">Element</a></code> nodes. </p>
<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>
<p>When represented using <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a>, the top node is an <code><a class="el" href="classDOM_1_1Element.html" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">Element</a></code> node for "elementExample", which contains two child <code><a class="el" href="classDOM_1_1Element.html" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">Element</a></code> nodes, one for "subelement1" and one for "subelement2". "subelement1" contains no child nodes.</p>
<p>Elements may have attributes associated with them; since the <code><a class="el" href="classDOM_1_1Element.html" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">Element</a></code> interface inherits from <code><a class="el" href="classDOM_1_1Node.html" title="The Node interface is the primary datatype for the entire Document Object Model.">Node</a></code> , the generic <code><a class="el" href="classDOM_1_1Node.html" title="The Node interface is the primary datatype for the entire Document Object Model.">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" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">Element</a></code> interface to retrieve either an <code><a class="el" href="classDOM_1_1Attr.html" title="The Attr interface represents an attribute in an Element object.">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" title="The Attr interface represents an attribute in an Element object.">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>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae3936acfc48f64f0487bb49e3298535d"></a><!-- doxytag: member="DOM::Element::contentEditable" ref="ae3936acfc48f64f0487bb49e3298535d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Element::contentEditable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>not part of the official <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> </p>
<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 class="return"><dt><b>Returns:</b></dt><dd>whether this element is editable. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classDOM_1_1Element.html#ae374f766f1e9f81280e294465818bd33" title="not part of the official DOM">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>.</p>

</div>
</div>
<a class="anchor" id="ae9f936986d995b164f63b480704a8f1b"></a><!-- doxytag: member="DOM::Element::form" ref="ae9f936986d995b164f63b480704a8f1b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDOM_1_1Element.html">Element</a> Element::form </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>KHTML extension to <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> This method returns the associated form element. </p>
<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>

<p>Reimplemented in <a class="el" href="classDOM_1_1HTMLButtonElement.html#a61f0f05bcc57b1af25de384296d8ef65">DOM::HTMLButtonElement</a>, <a class="el" href="classDOM_1_1HTMLFieldSetElement.html#ad5f2601da7f55875da943b9bf19165b1">DOM::HTMLFieldSetElement</a>, <a class="el" href="classDOM_1_1HTMLInputElement.html#a00fd6bf659163b9e6f768599096b2eb4">DOM::HTMLInputElement</a>, <a class="el" href="classDOM_1_1HTMLLegendElement.html#a628937415e189405c66e01742bf32623">DOM::HTMLLegendElement</a>, <a class="el" href="classDOM_1_1HTMLSelectElement.html#a758ca117a7a6c79c47494a2dd06ac78e">DOM::HTMLSelectElement</a>, <a class="el" href="classDOM_1_1HTMLTextAreaElement.html#aa56e5a669502f7b5f7daf400024ecaa5">DOM::HTMLTextAreaElement</a>, <a class="el" href="classDOM_1_1HTMLOptionElement.html#a0d028041a2879fa1677e58280829556d">DOM::HTMLOptionElement</a>, <a class="el" href="classDOM_1_1HTMLIsIndexElement.html#ac768b347556b36fa5388962fb89ea573">DOM::HTMLIsIndexElement</a>, and <a class="el" href="classDOM_1_1HTMLObjectElement.html#a6f1a8bef69299e2e653c3dfd0e17a666">DOM::HTMLObjectElement</a>.</p>

<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>.</p>

</div>
</div>
<a class="anchor" id="a31272d86d7acd89e7140b34cf507742e"></a><!-- doxytag: member="DOM::Element::getAttribute" ref="a31272d86d7acd89e7140b34cf507742e" args="(const DOMString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> Element::getAttribute </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves an attribute value by name. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The name of the attribute to retrieve.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <code><a class="el" href="classDOM_1_1Attr.html" title="The Attr interface represents an attribute in an Element object.">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>.</p>

</div>
</div>
<a class="anchor" id="a58dd3209f1f0f5318e400dccc3b3f5e9"></a><!-- doxytag: member="DOM::Element::getAttributeNode" ref="a58dd3209f1f0f5318e400dccc3b3f5e9" args="(const DOMString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDOM_1_1Attr.html">Attr</a> Element::getAttributeNode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves an <code><a class="el" href="classDOM_1_1Attr.html" title="The Attr interface represents an attribute in an Element object.">Attr</a></code> node by name. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The name of the attribute to retrieve.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <code><a class="el" href="classDOM_1_1Attr.html" title="The Attr interface represents an attribute in an Element object.">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>.</p>

</div>
</div>
<a class="anchor" id="aa2627fb706b1e85531d8aa3d2961433f"></a><!-- doxytag: member="DOM::Element::getAttributeNodeNS" ref="aa2627fb706b1e85531d8aa3d2961433f" args="(const DOMString &amp;namespaceURI, const DOMString &amp;localName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDOM_1_1Attr.html">Attr</a> Element::getAttributeNodeNS </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>namespaceURI</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>localName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Introduced in <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> Level 2. </p>
<p>Retrieves an <a class="el" href="classDOM_1_1Attr.html" title="The Attr interface represents an attribute in an Element object.">Attr</a> node by local name and namespace URI. HTML-only <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> implementations do not need to implement this method.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">namespaceURI</td><td>The namespace URI of the attribute to retrieve.</td></tr>
    <tr><td class="paramname">localName</td><td>The local name of the attribute to retrieve.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classDOM_1_1Attr.html" title="The Attr interface represents an attribute in an Element object.">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>.</p>

</div>
</div>
<a class="anchor" id="a18841b5646f62d012c75df91e389a72a"></a><!-- doxytag: member="DOM::Element::getAttributeNS" ref="a18841b5646f62d012c75df91e389a72a" args="(const DOMString &amp;namespaceURI, const DOMString &amp;localName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> Element::getAttributeNS </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>namespaceURI</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>localName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Introduced in <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> Level 2. </p>
<p>No Exceptions.</p>
<p>Retrieves an attribute value by local name and namespace URI. HTML-only <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> implementations do not need to implement this method.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">namespaceURI</td><td>The namespace URI of the attribute to retrieve.</td></tr>
    <tr><td class="paramname">localName</td><td>The local name of the attribute to retrieve.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classDOM_1_1Attr.html" title="The Attr interface represents an attribute in an Element object.">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>.</p>

</div>
</div>
<a class="anchor" id="a55b115101d3d1a4bca32fce585978d99"></a><!-- doxytag: member="DOM::Element::getElementsByTagName" ref="a55b115101d3d1a4bca32fce585978d99" args="(const DOMString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDOM_1_1NodeList.html">NodeList</a> Element::getElementsByTagName </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a <code><a class="el" href="classDOM_1_1NodeList.html" title="The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.">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" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">Element</a></code> tree. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The name of the tag to match on. The special value "*" matches all tags.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A list of matching <code><a class="el" href="classDOM_1_1Element.html" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">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>.</p>

</div>
</div>
<a class="anchor" id="aaf6fb06dcfc36ad0c6c2dd145a001739"></a><!-- doxytag: member="DOM::Element::getElementsByTagNameNS" ref="aaf6fb06dcfc36ad0c6c2dd145a001739" args="(const DOMString &amp;namespaceURI, const DOMString &amp;localName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDOM_1_1NodeList.html">NodeList</a> Element::getElementsByTagNameNS </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>namespaceURI</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>localName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Introduced in <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> Level 2 Returns a <a class="el" href="classDOM_1_1NodeList.html" title="The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.">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" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">Element</a> tree. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">namespaceURI</td><td>The namespace URI of the elements to match on. The special value "*" matches all namespaces.</td></tr>
    <tr><td class="paramname">localName</td><td>The local name of the elements to match on. The special value "*" matches all local names.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classDOM_1_1NodeList.html" title="The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.">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>.</p>

</div>
</div>
<a class="anchor" id="a2f33b1f0181c47514d6514eb17e4185a"></a><!-- doxytag: member="DOM::Element::hasAttribute" ref="a2f33b1f0181c47514d6514eb17e4185a" args="(const DOMString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Element::hasAttribute </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true when an attribute with a given name is specified on this element or has a default value, false otherwise. </p>
<p>Introduced in <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> Level 2.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The name of the attribute to look for.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><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>.</p>

</div>
</div>
<a class="anchor" id="a7986200200f19f00805687646a781737"></a><!-- doxytag: member="DOM::Element::hasAttributeNS" ref="a7986200200f19f00805687646a781737" args="(const DOMString &amp;namespaceURI, const DOMString &amp;localName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Element::hasAttributeNS </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>namespaceURI</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>localName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Introduced in <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> Level 2. </p>
<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" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> implementations do not need to implement this method.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">namespaceURI</td><td>The namespace URI of the attribute to look for.</td></tr>
    <tr><td class="paramname">localName</td><td>The local name of the attribute to look for.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><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>.</p>

</div>
</div>
<a class="anchor" id="a33df4936b209cf25749eee288fac41bf"></a><!-- doxytag: member="DOM::Element::removeAttribute" ref="a33df4936b209cf25749eee288fac41bf" args="(const DOMString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Element::removeAttribute </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes an attribute by name. </p>
<p>If the removed attribute has a default value it is immediately replaced.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The name of the attribute to remove.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classDOM_1_1DOMException.html" title="DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...">DOMException</a></td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. </td></tr>
  </table>
  </dd>
</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>.</p>

</div>
</div>
<a class="anchor" id="af695d2e00417f3f231172bb3131513de"></a><!-- doxytag: member="DOM::Element::removeAttributeNode" ref="af695d2e00417f3f231172bb3131513de" args="(const Attr &amp;oldAttr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDOM_1_1Attr.html">Attr</a> Element::removeAttributeNode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1Attr.html">Attr</a> &amp;&#160;</td>
          <td class="paramname"><em>oldAttr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes the specified attribute. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">oldAttr</td><td>The <code><a class="el" href="classDOM_1_1Attr.html" title="The Attr interface represents an attribute in an Element object.">Attr</a></code> node to remove from the attribute list. If the removed <code><a class="el" href="classDOM_1_1Attr.html" title="The Attr interface represents an attribute in an Element object.">Attr</a></code> has a default value it is immediately replaced.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <code><a class="el" href="classDOM_1_1Attr.html" title="The Attr interface represents an attribute in an Element object.">Attr</a></code> node that was removed.</dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classDOM_1_1DOMException.html" title="DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...">DOMException</a></td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.</td></tr>
  </table>
  </dd>
</dl>
<p>NOT_FOUND_ERR: Raised if <code>oldAttr</code> is not an attribute of the element. </p>

<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>.</p>

</div>
</div>
<a class="anchor" id="abef7bc7a38c0047c61c617589885d67f"></a><!-- doxytag: member="DOM::Element::removeAttributeNS" ref="abef7bc7a38c0047c61c617589885d67f" args="(const DOMString &amp;namespaceURI, const DOMString &amp;localName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Element::removeAttributeNS </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>namespaceURI</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>localName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Introduced in <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> Level 2. </p>
<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>
<p>HTML-only <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> implementations do not need to implement this method.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">namespaceURI</td><td>The namespace URI of the attribute to remove.</td></tr>
    <tr><td class="paramname">localName</td><td>The local name of the attribute to remove.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classDOM_1_1DOMException.html" title="DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...">DOMException</a></td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. </td></tr>
  </table>
  </dd>
</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>.</p>

</div>
</div>
<a class="anchor" id="a9a30ec2a6d1728f7602cd32f5fc66ef4"></a><!-- doxytag: member="DOM::Element::setAttribute" ref="a9a30ec2a6d1728f7602cd32f5fc66ef4" args="(const DOMString &amp;name, const DOMString &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Element::setAttribute </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a new attribute. </p>
<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" title="The Attr interface represents an attribute in an Element object.">Attr</a></code> node plus any <code><a class="el" href="classDOM_1_1Text.html" title="The Text interface represents the textual content (termed character data  in XML) of an Element or At...">Text</a></code> and <code><a class="el" href="classDOM_1_1EntityReference.html" title="EntityReference objects may be inserted into the structure model when an entity reference is in the s...">EntityReference</a></code> nodes, build the appropriate subtree, and use <code>setAttributeNode</code> to assign it as the value of an attribute.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The name of the attribute to create or alter.</td></tr>
    <tr><td class="paramname">value</td><td>Value to set in string form.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classDOM_1_1DOMException.html" title="DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...">DOMException</a></td><td>INVALID_CHARACTER_ERR: Raised if the specified name contains an invalid character.</td></tr>
  </table>
  </dd>
</dl>
<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. </p>

<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>.</p>

</div>
</div>
<a class="anchor" id="a2044f42ad441d6ac80764aacb64e3f8b"></a><!-- doxytag: member="DOM::Element::setAttributeNode" ref="a2044f42ad441d6ac80764aacb64e3f8b" args="(const Attr &amp;newAttr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDOM_1_1Attr.html">Attr</a> Element::setAttributeNode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1Attr.html">Attr</a> &amp;&#160;</td>
          <td class="paramname"><em>newAttr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a new attribute. </p>
<p>If an attribute with that name is already present in the element, it is replaced by the new one.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newAttr</td><td>The <code><a class="el" href="classDOM_1_1Attr.html" title="The Attr interface represents an attribute in an Element object.">Attr</a></code> node to add to the attribute list.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><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" title="The Attr interface represents an attribute in an Element object.">Attr</a></code> node is returned, otherwise <code>null</code> is returned.</dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classDOM_1_1DOMException.html" title="DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...">DOMException</a></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>
  </dd>
</dl>
<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.</p>
<p>INUSE_ATTRIBUTE_ERR: Raised if <code>newAttr</code> is already an attribute of another <code><a class="el" href="classDOM_1_1Element.html" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">Element</a></code> object. The <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> user must explicitly clone <code><a class="el" href="classDOM_1_1Attr.html" title="The Attr interface represents an attribute in an Element object.">Attr</a></code> nodes to re-use them in other elements. </p>

<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>.</p>

</div>
</div>
<a class="anchor" id="a4c400d01aed1078ec9412ee4a11c5444"></a><!-- doxytag: member="DOM::Element::setAttributeNodeNS" ref="a4c400d01aed1078ec9412ee4a11c5444" args="(const Attr &amp;newAttr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDOM_1_1Attr.html">Attr</a> Element::setAttributeNodeNS </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1Attr.html">Attr</a> &amp;&#160;</td>
          <td class="paramname"><em>newAttr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Introduced in <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> Level 2. </p>
<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>
<p>HTML-only <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> implementations do not need to implement this method.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newAttr</td><td>The <a class="el" href="classDOM_1_1Attr.html" title="The Attr interface represents an attribute in an Element object.">Attr</a> node to add to the attribute list.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><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" title="The Attr interface represents an attribute in an Element object.">Attr</a> node is returned, otherwise null is returned.</dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classDOM_1_1DOMException.html" title="DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...">DOMException</a></td><td>WRONG_DOCUMENT_ERR: Raised if newAttr was created from a different document than the one that created the element.</td></tr>
  </table>
  </dd>
</dl>
<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.</p>
<p>INUSE_ATTRIBUTE_ERR: Raised if newAttr is already an attribute of another <a class="el" href="classDOM_1_1Element.html" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">Element</a> object. The <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> user must explicitly clone <a class="el" href="classDOM_1_1Attr.html" title="The Attr interface represents an attribute in an Element object.">Attr</a> nodes to re-use them in other elements. </p>

<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>.</p>

</div>
</div>
<a class="anchor" id="ac96aaf4dbe600fecefd575b9828abd48"></a><!-- doxytag: member="DOM::Element::setAttributeNS" ref="ac96aaf4dbe600fecefd575b9828abd48" args="(const DOMString &amp;namespaceURI, const DOMString &amp;qualifiedName, const DOMString &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Element::setAttributeNS </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>namespaceURI</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>qualifiedName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Introduced in <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> Level 2. </p>
<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" title="The Attr interface represents an attribute in an Element object.">Attr</a> node plus any <a class="el" href="classDOM_1_1Text.html" title="The Text interface represents the textual content (termed character data  in XML) of an Element or At...">Text</a> and <a class="el" href="classDOM_1_1EntityReference.html" title="EntityReference objects may be inserted into the structure model when an entity reference is in the s...">EntityReference</a> nodes, build the appropriate subtree, and use setAttributeNodeNS or setAttributeNode to assign it as the value of an attribute.</p>
<p>HTML-only <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> implementations do not need to implement this method.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">namespaceURI</td><td>The namespace URI of the attribute to create or alter.</td></tr>
    <tr><td class="paramname">qualifiedName</td><td>The qualified name of the attribute to create or alter.</td></tr>
    <tr><td class="paramname">value</td><td>The value to set in string form.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classDOM_1_1DOMException.html" title="DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...">DOMException</a></td><td>INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character.</td></tr>
  </table>
  </dd>
</dl>
<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.</p>
<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>

<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>.</p>

</div>
</div>
<a class="anchor" id="ae374f766f1e9f81280e294465818bd33"></a><!-- doxytag: member="DOM::Element::setContentEditable" ref="ae374f766f1e9f81280e294465818bd33" args="(bool enabled)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Element::setContentEditable </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>not part of the official <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> </p>
<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>
<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><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">enabled</td><td><code>true</code> to make this element editable, <code>false</code> otherwise. </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classDOM_1_1Document.html#a566be0b1c39de525d12edf73e5677051" title="not part of the official DOM">DOM::Document::designMode</a> </dd></dl>
<dl class="since"><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>.</p>

</div>
</div>
<a class="anchor" id="a6e68b9cab59a4fee2b275ab5c5c3b338"></a><!-- doxytag: member="DOM::Element::style" ref="a6e68b9cab59a4fee2b275ab5c5c3b338" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDOM_1_1CSSStyleDeclaration.html">CSSStyleDeclaration</a> Element::style </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Introduced in <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a> Level 2 This method is from the <a class="el" href="classDOM_1_1CSSStyleDeclaration.html" title="The CSSStyleDeclaration interface represents a single CSS declaration block  .">CSSStyleDeclaration</a> interface. </p>
<p>The style attribute </p>

<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>.</p>

</div>
</div>
<a class="anchor" id="a446e8db7b0260839cd29fc24be3dcebb"></a><!-- doxytag: member="DOM::Element::tagName" ref="a446e8db7b0260839cd29fc24be3dcebb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> Element::tagName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The name of the element. </p>
<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" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">DOM</a>. The HTML <a class="el" href="namespaceDOM.html" title="The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...">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>

<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>.</p>

</div>
</div>
<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>
<li><a class="el" href="dom__element_8cpp_source.html">dom_element.cpp</a></li>
</ul>
</div>
    </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="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_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_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_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_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_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_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_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="classKHTMLPageCache.html">khtmlpagecache</option>,  <option value="classKHTMLPart.html">khtmlpart</option>,  <option value="classKHTMLPartBrowserExtension.html">khtmlpartbrowserextension</option>,  <option value="classKHTMLPartIface.html">khtmlpartiface</option>,  <option value="classKHTMLSettings.html">khtmlsettings</option>,  <option value="classKHTMLView.html">khtmlview</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>