---
title: "query_selector_all method"
url: "https://reference.aspose.com/html/python-net/aspose.html.dom.svg/svgdefselement/query_selector_all/"
product: "Aspose.HTML for Python via .NET API References"
---


## query_selector_all {#str}

Returns a NodeList of all the Elements in document, which match selector


### Returns 


[`HTMLCollection`](/html/python-net/aspose.html.collections/htmlcollection)


```python
def query_selector_all(self, selector):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| selector | str | The selector |



### See Also
* module [`aspose.html.dom.svg`](../../)
* class [`HTMLCollection`](/html/python-net/aspose.html.collections/htmlcollection)
* class [`NodeList`](/html/python-net/aspose.html.collections/nodelist)
* class [`SVGDefsElement`](/html/python-net/aspose.html.dom.svg/svgdefselement)
