---
title: "license · Link relation · zhead"
canonical_url: "https://zhead.dev/link/license"
last_updated: "2026-08-19T02:35:55.752Z"
meta:
  description: "Links to the license that applies to the current page."
  "og:description": "Links to the license that applies to the current page."
  "og:title": "license · Link relation · zhead"
---

Link

# license

Links to the license that applies to the current page.

## Code examples

Good example

```
<link rel="license" href="https://creativecommons.org/licenses/by/4.0/">
```

Links directly to the license for the current page.

Avoid this example

```
<link rel="license" href="/">
```

Points to a homepage that does not identify the page's license.

## Recommendations

- 01 Name the applicable license Link directly to the license text or to a page that clearly says which material it covers.
- 02 Do not infer permissions The relation identifies a license. It does not grant rights beyond the terms at the linked URL.

## Related documentation

- [HTML Living Standard: Links](https://html.spec.whatwg.org/multipage/links.html#link-type-license)
- [rfc-editor.org: Rfc4946](https://www.rfc-editor.org/rfc/rfc4946)