# Crossorigin

> Represents values for the HTML crossorigin 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) › Crossorigin

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

Represents values for the HTML `crossorigin` attribute.

See also: <https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin>.

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-ANONYMOUS"></span>`ANONYMOUS` | `'anonymous'` | `anonymous` - CORS requests for this element will have the credentials flag set to 'same-origin'. |
| <span id="case-USE_CREDENTIALS"></span>`USE_CREDENTIALS` | `'use-credentials'` | `use-credentials` - CORS requests for this element will have the credentials flag set to 'include'. |