mozilla

Revision 49248 of HTMLElement

  • Revision slug: DOM/HTMLElement
  • Revision title: HTMLElement
  • Revision id: 49248
  • Created:
  • Creator: Brettz9
  • Is current revision? No
  • Comment page created, 147 words added

Revision Content

 

HTMLElement is an abstract interface for the DOM from which all HTML elements inherit.

attribute DOMString id
attribute DOMString title
attribute DOMString lang
attribute DOMString dir
attribute DOMString className

The following elements exclusively inherit from HTMLElement:

  • special: SUB, SUP, SPAN, BDO
  • font: TT, I, B, U, S, STRIKE, BIG, SMALL
  • phrase: EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ACRONYM, ABBR
  • list: DD, DT
  • NOFRAMES, NOSCRIPT
  • ADDRESS, CENTER

The following are links to other interfaces which also derive from HTMLElement

Html, Head, Link, Title, Meta, Base, IsIndex, Style, Body, Form, Select, OptGroup, Option, Input, TextArea, Button, Label, FieldSet, Legend, UList, OList, DList, Directory, Menu, LI, Div, Paragraph, Heading, Quote, Pre, BR, BaseFont, Font, HR, Mod, Anchor, Image, Object, Param, Applet, Map, Area, Script, Table, TableCaption, TableCol, TableSection, TableRow, TableCell, FrameSet, Frame, IFrame

Specification

See also

Revision Source

<p> </p>
<p>HTMLElement is an abstract interface for the <a href="en/DOM" title="en/DOM">DOM</a> from which all HTML elements inherit.</p>
<p>attribute DOMString <a href="en/DOM/Element.id" title="en/DOM/Element.id">id</a><br>
attribute DOMString <a href="en/DOM/Element.title" title="en/DOM/Element.title">title</a><br>
attribute DOMString <a href="en/DOM/Element.lang" title="en/DOM/Element.lang">lang</a><br>
attribute DOMString <a href="en/DOM/Element.dir" title="en/DOM/Element.dir">dir</a><br>
attribute DOMString <a href="en/DOM/Element.className" title="en/DOM/Element.className">className</a></p>
<p>The following elements exclusively inherit from HTMLElement:</p>
<ul> <li>special: SUB, SUP, SPAN, BDO</li> <li>font: TT, I, B, U, S, STRIKE, BIG, SMALL</li> <li>phrase: EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ACRONYM, ABBR</li> <li>list: DD, DT</li> <li>NOFRAMES, NOSCRIPT</li> <li>ADDRESS, CENTER</li>
</ul>
<p>The following are links to other interfaces which also derive from HTMLElement</p>
<p><a href="../../../../en/DOM/Html" rel="internal">Html</a>, <a href="../../../../en/HTML/Element/head" rel="internal">Head</a>, <a href="../../../../en/DOM/Link" rel="internal">Link</a>, <a href="../../../../en/HTML/Element/title" rel="internal">Title</a>, <a href="../../../../en/HTML/Element/meta/Meta" rel="internal">Meta</a>, <a href="../../../../en/DOM/Base" rel="internal">Base</a>, <a class="new " href="../../../../En/DOM/IsIndex" rel="internal">IsIndex</a>, <a href="../../../../en/HTML/Element/style" rel="internal">Style</a>, <a class="new " href="../../../../En/DOM/Body" rel="internal">Body</a>, <a href="../../../../en/DOM/form" rel="internal">Form</a>, <a href="../../../../en/DOM/select" rel="internal">Select</a>, <a class="new " href="../../../../En/DOM/OptGroup" rel="internal">OptGroup</a>, <a class="new " href="../../../../En/DOM/Option" rel="internal">Option</a>, <a href="../../../../en/DOM/Input" rel="internal">Input</a>, <a href="../../../../en/DOM/textarea" rel="internal">TextArea</a>, <a class="new " href="../../../../En/DOM/Button" rel="internal">Button</a>, <a class="new " href="../../../../En/DOM/Label" rel="internal">Label</a>, <a class="new " href="../../../../En/DOM/FieldSet" rel="internal">FieldSet</a>, <a class="new " href="../../../../En/DOM/Legend" rel="internal">Legend</a>, <a class="new " href="../../../../En/DOM/UList" rel="internal">UList</a>, <a class="new " href="../../../../En/DOM/OList" rel="internal">OList</a>, <a class="new " href="../../../../En/DOM/DList" rel="internal">DList</a>, <a class="new " href="../../../../En/DOM/Directory" rel="internal">Directory</a>, <a class="new " href="../../../../En/DOM/Menu" rel="internal">Menu</a>, <a class="new " href="../../../../En/DOM/LI" rel="internal">LI</a>, <a class="new " href="../../../../En/DOM/Div" rel="internal">Div</a>, <a class="new " href="../../../../En/DOM/Paragraph" rel="internal">Paragraph</a>, <a class="new " href="../../../../En/DOM/Heading" rel="internal">Heading</a>, <a class="new " href="../../../../En/DOM/Quote" rel="internal">Quote</a>, <a class="new " href="../../../../En/DOM/Pre" rel="internal">Pre</a>, <a class="new " href="../../../../En/DOM/BR" rel="internal">BR</a>, <a class="new " href="../../../../En/DOM/BaseFont" rel="internal">BaseFont</a>, <a class="new " href="../../../../En/DOM/Font" rel="internal">Font</a>, <a class="new " href="../../../../En/DOM/HR" rel="internal">HR</a>, <a class="new " href="../../../../En/DOM/Mod" rel="internal">Mod</a>, <a class="new " href="../../../../En/DOM/Anchor" rel="internal">Anchor</a>, <a href="../../../../en/DOM/Image" rel="internal">Image</a>, <a class="new " href="../../../../En/DOM/Object" rel="internal">Object</a>, <a class="new " href="../../../../En/DOM/Param" rel="internal">Param</a>, <a class="new " href="../../../../En/DOM/Applet" rel="internal">Applet</a>, <a class="new " href="../../../../En/DOM/Map" rel="internal">Map</a>, <a class="new " href="../../../../En/DOM/Area" rel="internal">Area</a>, <a class="new " href="../../../../En/DOM/Script" rel="internal">Script</a>, <a href="../../../../en/DOM/table" rel="internal">Table</a>, <a class="new " href="../../../../En/DOM/TableCaption" rel="internal">TableCaption</a>, <a class="new " href="../../../../En/DOM/TableCol" rel="internal">TableCol</a>, <a class="new " href="../../../../En/DOM/TableSection" rel="internal">TableSection</a>, <a href="../../../../en/DOM/tableRow" rel="internal">TableRow</a>, <a class="new " href="../../../../En/DOM/TableCell" rel="internal">TableCell</a>, <a class="new " href="../../../../En/DOM/FrameSet" rel="internal">FrameSet</a>, <a class="new " href="../../../../En/DOM/Frame" rel="internal">Frame</a>, <a class="new " href="../../../../En/DOM/IFrame" rel="internal">IFrame</a></p>
<h3>Specification</h3>
<ul> <li><a class=" external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037" rel="freelink">http://www.w3.org/TR/DOM-Level-2-HTM...ml#ID-58190037</a></li>
</ul>
<h3>See also</h3>
<ul> <li><a href="en/DOM/element" title="en/DOM/element">Element</a></li>
</ul>
Revert to this revision