Uses of Interface org.w3c.dom.html.HTMLCollection (Common DOM API )
Date: 2026-07-22

## Uses of Interface
org.w3c.dom.html.HTMLCollection

- Packages that use HTMLCollection
  Package | Description
  --- | ---
  org.w3c.dom.html |

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

    Methods in org.w3c.dom.html that return HTMLCollection
    Modifier and Type | Method and Description
    --- | ---
    `HTMLCollection` | HTMLDocument.`getAnchors()` A collection of all the anchor (`A` ) elements in a document with a value for the `name` attribute.
    `HTMLCollection` | HTMLDocument.`getApplets()` A collection of all the `OBJECT` elements that include applets and `APPLET` ( deprecated ) elements in a document.
    `HTMLCollection` | HTMLMapElement.`getAreas()` The list of areas defined for the image map.
    `HTMLCollection` | HTMLTableRowElement.`getCells()` The collection of cells in this row.
    `HTMLCollection` | HTMLFormElement.`getElements()` Returns a collection of all control elements in the form.
    `HTMLCollection` | HTMLDocument.`getForms()` A collection of all the forms of a document.
    `HTMLCollection` | HTMLDocument.`getImages()` A collection of all the `IMG` elements in a document.
    `HTMLCollection` | HTMLDocument.`getLinks()` A collection of all `AREA` elements and anchor ( `A` ) elements in a document with a value for the `href` attribute.
    `HTMLCollection` | HTMLSelectElement.`getOptions()` The collection of `OPTION` elements contained by this element.
    `HTMLCollection` | HTMLTableElement.`getRows()` Returns a collection of all the rows in the table, including all in `THEAD` , `TFOOT` , all `TBODY` elements.
    `HTMLCollection` | HTMLTableSectionElement.`getRows()` The collection of rows in this table section.
    `HTMLCollection` | HTMLTableElement.`getTBodies()` Returns a collection of the defined table bodies.

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, 2026, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.