# Rel

> Represents relationship tokens for the HTML rel attribute.

[API reference](/docs/api/index.md) › [HTML Attribute](/docs/extensions/html-attribute/reference/index.md) › [Values](/docs/extensions/html-attribute/reference/values/index.md) › Rel

| enum | `UIAwesome\Html\Attribute\Values\Rel` |
| --- | --- |
| Backed by | `string` |
| Source | [`src/Values/Rel.php`](https://github.com/ui-awesome/html-attribute/blob/main/src/Values/Rel.php#L13) |

Represents relationship tokens for the HTML `rel` attribute.

See also: <https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel>, <https://www.iana.org/assignments/link-relations/link-relations.xhtml>.

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-ALTERNATE"></span>`ALTERNATE` | `'alternate'` | `alternate` — Indicates an alternate representation of the current document (for example: translated versions, alternate formats, or alternate stylesheets when used with the `stylesheet` keyword). |
| <span id="case-APPLE_TOUCH_ICON"></span>`APPLE_TOUCH_ICON` | `'apple-touch-icon'` | `apple-touch-icon` — Non-standard (Apple) — Icon used by iOS for Web Clips / home-screen icons. |
| <span id="case-APPLE_TOUCH_STARTUP_IMAGE"></span>`APPLE_TOUCH_STARTUP_IMAGE` | `'apple-touch-startup-image'` | `apple-touch-startup-image` — Non-standard (Apple) — Startup image for iOS Web Apps. |
| <span id="case-AUTHOR"></span>`AUTHOR` | `'author'` | `author` — Referenced resource provides information about the author of the current document or article. |
| <span id="case-BOOKMARK"></span>`BOOKMARK` | `'bookmark'` | `bookmark` — A permalink for the nearest ancestor article or for the section the link is associated with. |
| <span id="case-CANONICAL"></span>`CANONICAL` | `'canonical'` | `canonical` — The preferred URL for the current document (used by search engines to reduce duplicate content). |
| <span id="case-COMPRESSION_DICTIONARY"></span>`COMPRESSION_DICTIONARY` | `'compression-dictionary'` | `compression-dictionary` (Experimental) — Link to a compression dictionary that can be used to compress future downloads for resources on this site. |
| <span id="case-DNS_PREFETCH"></span>`DNS_PREFETCH` | `'dns-prefetch'` | `dns-prefetch` — Hint to the user agent to preemptively perform DNS resolution for the target resource's origin to reduce latency. |
| <span id="case-EXPECT"></span>`EXPECT` | `'expect'` | `expect` (Experimental) — When used with `blocking="render"`, allows the page to be render-blocked until essential parts are parsed for consistent rendering. |
| <span id="case-EXTERNAL"></span>`EXTERNAL` | `'external'` | `external` — Indicates the referenced document is not part of the same site as the current document (useful to style external links). |
| <span id="case-HELP"></span>`HELP` | `'help'` | `help` — Link to context-sensitive help related to the element or document. |
| <span id="case-ICON"></span>`ICON` | `'icon'` | `icon` — Linked resource represents an icon for the current document (commonly used for favicons). |
| <span id="case-LICENSE"></span>`LICENSE` | `'license'` | `license` — Indicates the referenced document describes the licensing information that covers the main content of the current document. |
| <span id="case-MANIFEST"></span>`MANIFEST` | `'manifest'` | `manifest` — Points to a Web App Manifest describing the web application's metadata. |
| <span id="case-ME"></span>`ME` | `'me'` | `me` — Indicates that the current document represents the person who owns the linked content (commonly used for identity links). |
| <span id="case-MODULEPRELOAD"></span>`MODULEPRELOAD` | `'modulepreload'` | `modulepreload` — Preloads a module and stores it in the document's module map for later evaluation (improves module loading performance). |
| <span id="case-NEXT"></span>`NEXT` | `'next'` | `next` — Indicates the next resource in a series (useful for paginated content and as a resource hint when used on `<link>`). |
| <span id="case-NOFOLLOW"></span>`NOFOLLOW` | `'nofollow'` | `nofollow` — Instructs search engines not to follow or endorse the link. |
| <span id="case-NOOPENER"></span>`NOOPENER` | `'noopener'` | `noopener` — Ensures a new browsing context does not have access to the `window.opener` of the originating page (security measure when using `target="_blank"`). |
| <span id="case-NOREFERRER"></span>`NOREFERRER` | `'noreferrer'` | `noreferrer` — Prevents sending the Referer header and implies `noopener`. |
| <span id="case-OPENER"></span>`OPENER` | `'opener'` | `opener` — The opposite of `noopener`: allows the opened context to have a reference to the opener. |
| <span id="case-PINGBACK"></span>`PINGBACK` | `'pingback'` | `pingback` — Address of the pingback server for the current document. |
| <span id="case-PRECONNECT"></span>`PRECONNECT` | `'preconnect'` | `preconnect` — Hint to open a connection to the target origin in advance to reduce latency. |
| <span id="case-PREFETCH"></span>`PREFETCH` | `'prefetch'` | `prefetch` — Suggests the user agent preemptively fetch and cache the target resource for a likely future navigation. |
| <span id="case-PRELOAD"></span>`PRELOAD` | `'preload'` | `preload` — Instructs the user agent to preemptively fetch a resource for the current navigation according to the `as` attribute. |
| <span id="case-PRERENDER"></span>`PRERENDER` | `'prerender'` | `prerender` (Deprecated / Non-standard) — Previously used to prefetch and process a resource for faster future navigation. |
| <span id="case-PREV"></span>`PREV` | `'prev'` | `prev` — Indicates the previous resource in a series (useful for paginated content). |
| <span id="case-PRIVACY_POLICY"></span>`PRIVACY_POLICY` | `'privacy-policy'` | `privacy-policy` — Points to the document describing the privacy practices that apply to the current document. |
| <span id="case-SEARCH"></span>`SEARCH` | `'search'` | `search` — Links to a resource that provides search capabilities for the current site or document (for example OpenSearch descriptions). |
| <span id="case-SHORTCUT"></span>`SHORTCUT` | `'shortcut'` | `shortcut` — Obsolete / non-conforming synonym historically seen before `icon`. |
| <span id="case-STYLESHEET"></span>`STYLESHEET` | `'stylesheet'` | `stylesheet` — Imports an external stylesheet. |
| <span id="case-TAG"></span>`TAG` | `'tag'` | `tag` — Gives a tag (identified by the address) that applies to the current document. |
| <span id="case-TERMS_OF_SERVICE"></span>`TERMS_OF_SERVICE` | `'terms-of-service'` | `terms-of-service` — Links to the Terms of Service for the content or site. |