interface HTMLCollection
{
//Contains nodes Number
readonly attribute unsigned long length;
//Return the corresponding node according to the specified index index
//The nodes in HTMLCollection are in a tree structure, and the index value index is node depth first The sequence number sorted by the method
Node item (in unsigned long index);
//Return the corresponding node according to the name or id attribute of the node
Node namedItem (in DOMString name);
}
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn