## Uses of Interface
org.w3c.dom.Element

- Packages that use Element
  Package | Description
  --- | ---
  org.w3c.dom | Provides the interfaces for the Document Object Model (DOM) which is a component API of the Java API for XML Processing.
  org.w3c.dom.css |
  org.w3c.dom.html |
  org.w3c.dom.ls |

- - ### Uses of Element in org.w3c.dom

    Methods in org.w3c.dom that return Element
    Modifier and Type | Method and Description
    --- | ---
    `Element` | Document.`createElement(String tagName)` Creates an element of the type specified.
    `Element` | Document.`createElementNS(String namespaceURI, String qualifiedName)` Creates an element of the given qualified name and namespace URI.
    `Element` | Document.`getDocumentElement()` This is a convenience attribute that allows direct access to the child node that is the document element of the document.
    `Element` | Document.`getElementById(String elementId)` Returns the `Element` that has an ID attribute with the given value.
    `Element` | Attr.`getOwnerElement()` The `Element` node this attribute is attached to or `null` if this attribute is not in use.

  - ### Uses of Element in org.w3c.dom.css

    Methods in org.w3c.dom.css with parameters of type Element
    Modifier and Type | Method and Description
    --- | ---
    `CSSStyleDeclaration` | ViewCSS.`getComputedStyle(Element elt, String pseudoElt)` This method is used to get the computed style as it is defined in [CSS2].
    `CSSStyleDeclaration` | DocumentCSS.`getOverrideStyle(Element elt, String pseudoElt)` This method is used to retrieve the override style declaration for a specified element and a specified pseudo-element.

  - ### Uses of Element in org.w3c.dom.html

    Subinterfaces of Element in org.w3c.dom.html
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `HTMLAnchorElement` The anchor element.
    `interface` | `HTMLAppletElement` An embedded Java applet.
    `interface` | `HTMLAreaElement` Client-side image map area definition.
    `interface` | `HTMLBaseElement` Document base URI.
    `interface` | `HTMLBaseFontElement` Base font.
    `interface` | `HTMLBodyElement` The HTML document body.
    `interface` | `HTMLBRElement` Force a line break.
    `interface` | `HTMLButtonElement` Push button.
    `interface` | `HTMLDirectoryElement` Directory list.
    `interface` | `HTMLDivElement` Generic block container.
    `interface` | `HTMLDListElement` Definition list.
    `interface` | `HTMLElement` All HTML element interfaces derive from this class.
    `interface` | `HTMLFieldSetElement` Organizes form controls into logical groups.
    `interface` | `HTMLFontElement` Local change to font.
    `interface` | `HTMLFormElement` The `FORM` element encompasses behavior similar to a collection and an element.
    `interface` | `HTMLFrameElement` Create a frame.
    `interface` | `HTMLFrameSetElement` Create a grid of frames.
    `interface` | `HTMLHeadElement` Document head information.
    `interface` | `HTMLHeadingElement` For the `H1` to `H6` elements.
    `interface` | `HTMLHRElement` Create a horizontal rule.
    `interface` | `HTMLHtmlElement` Root of an HTML document.
    `interface` | `HTMLIFrameElement` Inline subwindows.
    `interface` | `HTMLImageElement` Embedded image.
    `interface` | `HTMLInputElement` Form control.
    `interface` | `HTMLIsIndexElement` This element is used for single-line text input.
    `interface` | `HTMLLabelElement` Form field label text.
    `interface` | `HTMLLegendElement` Provides a caption for a `FIELDSET` grouping.
    `interface` | `HTMLLIElement` List item.
    `interface` | `HTMLLinkElement` The `LINK` element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa).
    `interface` | `HTMLMapElement` Client-side image map.
    `interface` | `HTMLMenuElement` Menu list.
    `interface` | `HTMLMetaElement` This contains generic meta-information about the document.
    `interface` | `HTMLModElement` Notice of modification to part of a document.
    `interface` | `HTMLObjectElement` Generic embedded object.
    `interface` | `HTMLOListElement` Ordered list.
    `interface` | `HTMLOptGroupElement` Group options together in logical subdivisions.
    `interface` | `HTMLOptionElement` A selectable choice.
    `interface` | `HTMLParagraphElement` Paragraphs.
    `interface` | `HTMLParamElement` Parameters fed to the `OBJECT` element.
    `interface` | `HTMLPreElement` Preformatted text.
    `interface` | `HTMLQuoteElement` For the `Q` and `BLOCKQUOTE` elements.
    `interface` | `HTMLScriptElement` Script statements.
    `interface` | `HTMLSelectElement` The select element allows the selection of an option.
    `interface` | `HTMLStyleElement` Style information.
    `interface` | `HTMLTableCaptionElement` Table caption See the CAPTION element definition in HTML 4.0.
    `interface` | `HTMLTableCellElement` The object used to represent the `TH` and `TD` elements.
    `interface` | `HTMLTableColElement` Regroups the `COL` and `COLGROUP` elements.
    `interface` | `HTMLTableElement` The create* and delete* methods on the table allow authors to construct and modify tables.
    `interface` | `HTMLTableRowElement` A row in a table.
    `interface` | `HTMLTableSectionElement` The `THEAD` , `TFOOT` , and `TBODY` elements.
    `interface` | `HTMLTextAreaElement` Multi-line text field.
    `interface` | `HTMLTitleElement` The document title.
    `interface` | `HTMLUListElement` Unordered list.

  - ### Uses of Element in org.w3c.dom.ls

    Methods in org.w3c.dom.ls with parameters of type Element
    Modifier and Type | Method and Description
    --- | ---
    `short` | LSParserFilter.`startElement(Element elementArg)` The parser will call this method after each `Element` start tag has been scanned, but before the remainder of the `Element` is processed.

Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2014, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.