Export (0) Print
Expand All
1 out of 3 rated this helpful - Rate this topic

getElementsByTagName method

Retrieves a collection of objects based on the specified element name.

Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5


Element retVal = object.getElementsByTagName(v);


v [in]

Type: BSTR

BSTR that specifies the name of an element.

Standards information


When you use the IHTMLElement2::getElementsByTagName method, all child and nested child elements with the specified tag name are returned.

See also

About the W3C Document Object Model



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.