Uses of Interface
org.w3c.dom.html.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 thename
attribute.HTMLCollection
HTMLDocument. getApplets()
A collection of all theOBJECT
elements that include applets andAPPLET
( 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 theIMG
elements in a document.HTMLCollection
HTMLDocument. getLinks()
A collection of allAREA
elements and anchor (A
) elements in a document with a value for thehref
attribute.HTMLCollection
HTMLSelectElement. getOptions()
The collection ofOPTION
elements contained by this element.HTMLCollection
HTMLTableElement. getRows()
Returns a collection of all the rows in the table, including all inTHEAD
,TFOOT
, allTBODY
elements.HTMLCollection
HTMLTableSectionElement. getRows()
The collection of rows in this table section.HTMLCollection
HTMLTableElement. getTBodies()
Returns a collection of the defined table bodies.