Name
tags( ) — NN n/a IE 4 DOM n/a
Synopsis
tags(tagName
)
Returns a collection of objects (among all objects nested within the
current element) whose tags match the
tagName
parameter.
Returned Value
A collection (array) of objects. If there are no matches to the parameters, the returned value is an array of zero length.
Parameters
-
tagName
A string that contains the all-uppercase version of the element tag, as in
document.all.tags("P")
.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.