---
title: "DOMTokenList.Supports"
url: "https://reference.aspose.com/html/java/com.aspose.html.collections/domtokenlist/supports/"
product: "Aspose.HTML for Java API Reference"
description: "DOMTokenList method. Returns true if a given token is in the associated attributes supported tokens"
---

## DOMTokenList.Supports method

Returns true if a given token is in the associated attribute's supported tokens.

```java
public bool Supports(String token)
```

| Parameter | Type | Description |
| --- | --- | --- |
| token | String | The token to query for. |

### Return Value

A Boolean indicating whether the token was found.

### See Also

* class [DOMTokenList](../)
* package [com.aspose.html.collections](../../../com.aspose.html.collections/)
* package [Aspose.HTML](../../../)
