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

Packages that use HTMLCollection
Package
Description
org.w3c.dom.html
Provides interfaces for DOM Level 2 HTML Specification.

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

Methods in org.w3c.dom.html that return HTMLCollection
Modifier and Type
Method
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.