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


## matches {#str}

Determines whether the element matches the specified CSS selector.


### Returns 


`true` if the element matches the selector; otherwise, `false`.


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

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



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