
## HTMLCollection class

The [`HTMLCollection`](/svg/python-net/aspose.svg.collections/htmlcollection) represents a generic collection of [`Element`](/svg/python-net/aspose.svg.dom/element).



**Inheritance:** [`HTMLCollection`](/svg/python-net/aspose.svg.collections/htmlcollection) → 
[`DOMObject`](/svg/python-net/aspose.svg.dom/domobject)



The HTMLCollection type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [length](/svg/python-net/aspose.svg.collections/htmlcollection/length) | The number of nodes in the list. |



Returns the index-th item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.
### Indexer
| Name | Description |
| :- | :- |
| [index] | The index. |


### Methods
| Method | Description |
| :- | :- |
| [get_platform_type](/svg/python-net/aspose.svg.collections/htmlcollection/get_platform_type/#) | This method is used to retrieve ECMAScript object Type. |
| [named_item](/svg/python-net/aspose.svg.collections/htmlcollection/named_item/#str) | Returns the item in the collection matched specified name. |



### See Also
* module [`aspose.svg.collections`](..)
* class [`DOMObject`](/svg/python-net/aspose.svg.dom/domobject)
* class [`Element`](/svg/python-net/aspose.svg.dom/element)
* class [`HTMLCollection`](/svg/python-net/aspose.svg.collections/htmlcollection)
