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


## query_selector {#str}

Returns the first Element in document, which match selector


### Returns 


The matched element


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

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



### See Also
* module [`aspose.html.dom.svg.filters`](../../)
* class [`SVGFEDistantLightElement`](/html/python-net/aspose.html.dom.svg.filters/svgfedistantlightelement)
