---
title: "HTMLLinkElement.Hreflang"
url: "https://reference.aspose.com/html/java/com.aspose.html/htmllinkelement/hreflang/"
product: "Aspose.HTML for Java API Reference"
description: "HTMLLinkElement property. Language code of the linked resource. See the hreflang attribute definition in HTML 4.01"
---

## HTMLLinkElement.Hreflang property

Language code of the linked resource. See the hreflang attribute definition in HTML 4.01.

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

### See Also

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