interface HTMLCollection { readonly attribute unsigned long length; getter Element? item(unsigned long index); getter object? namedItem(DOMString name); // 仅返回Element。 };
[HTML API]HTMLCollection
转载于:https://www.cnblogs.com/niuweb/archive/2012/02/03/API_HTMLCollection.html