## Element.QuerySelectorAll method

Returns a NodeList of all the Elements in document, which match selector

```csharp
public NodeList QuerySelectorAll(string selector)
```

| Parameter | Type | Description |
| --- | --- | --- |
| selector | String | The selector |

### Return Value

[`HTMLCollection`](../../../aspose.html.collections/htmlcollection/)

### See Also

* class [NodeList](../../../aspose.html.collections/nodelist/)
* class [Element](../)
* namespace [Aspose.Html.Dom](../../../aspose.html.dom/)
* assembly [Aspose.HTML](../../../)
