getElementsByTagName method

[This documentation is preliminary and is subject to change.]

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

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

Syntax

IHTMLElementCollection retVal = object.getElementsByTagName(v);

Standards information

Parameters

  • v [in]
    Type: BSTR

    BSTR that specifies the name of an element.

Remarks

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

See also

About the W3C Document Object Model

 

 

Build date: 1/26/2012