---
title: "HTMLLinkElement.Charset"
url: "https://reference.aspose.com/html/java/com.aspose.html/htmllinkelement/charset/"
product: "Aspose.HTML for Java API Reference"
description: "HTMLLinkElement property. The character encoding of the resource being linked to. See the charset attribute definition in HTML 4.01"
---

## HTMLLinkElement.Charset property

The character encoding of the resource being linked to. See the charset attribute definition in HTML 4.01.

```java
public String Charset { get; set; }
```

### See Also

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