# Attribute

> Represents HTML attribute names.

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

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

Represents HTML attribute names.

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

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-ACCEPT"></span>`ACCEPT` | `'accept'` | `accept` — List of types the server accepts, typically a file type. |
| <span id="case-AUTOCOMPLETE"></span>`AUTOCOMPLETE` | `'autocomplete'` | `autocomplete` — Indicates whether controls can have their values automatically completed. |
| <span id="case-CAPTURE"></span>`CAPTURE` | `'capture'` | `capture` — Media capture hint for file inputs. |
| <span id="case-CHECKED"></span>`CHECKED` | `'checked'` | `checked` — Indicates whether the command or control is checked. |
| <span id="case-CONTENT"></span>`CONTENT` | `'content'` | `content` — A value associated with a meta element. |
| <span id="case-CROSSORIGIN"></span>`CROSSORIGIN` | `'crossorigin'` | `crossorigin` — How the element handles cross-origin requests. |
| <span id="case-DIRNAME"></span>`DIRNAME` | `'dirname'` | `dirname` — Enables the submission of the directionality of the element. |
| <span id="case-DISABLED"></span>`DISABLED` | `'disabled'` | `disabled` — Indicates whether the user can interact with the element. |
| <span id="case-ELEMENTTIMING"></span>`ELEMENTTIMING` | `'elementtiming'` | `elementtiming` — Marks the element for observation by the `PerformanceElementTiming` API. |
| <span id="case-FETCHPRIORITY"></span>`FETCHPRIORITY` | `'fetchpriority'` | `fetchpriority` — Hints at the relative priority for fetching a resource. |
| <span id="case-FOR"></span>`FOR` | `'for'` | `for` — Describes elements which belong to this one. |
| <span id="case-FORM"></span>`FORM` | `'form'` | `form` — Indicates the form that is the owner of the element. |
| <span id="case-INTEGRITY"></span>`INTEGRITY` | `'integrity'` | `integrity` — Contains inline metadata that a user agent can use to verify that a fetched resource has been delivered without unexpected manipulation (Subresource Integrity). |
| <span id="case-MAX"></span>`MAX` | `'max'` | `max` — Indicates the maximum value allowed. |
| <span id="case-MAXLENGTH"></span>`MAXLENGTH` | `'maxlength'` | `maxlength` — Defines the maximum number of characters allowed in the element. |
| <span id="case-MEDIA"></span>`MEDIA` | `'media'` | `media` — Specifies the media that the linked resource applies to. |
| <span id="case-MIN"></span>`MIN` | `'min'` | `min` — Indicates the minimum value allowed. |
| <span id="case-MINLENGTH"></span>`MINLENGTH` | `'minlength'` | `minlength` — Defines the minimum number of characters allowed in the element. |
| <span id="case-MULTIPLE"></span>`MULTIPLE` | `'multiple'` | `multiple` — Indicates whether multiple values can be entered in an input of the type email or file. |
| <span id="case-PATTERN"></span>`PATTERN` | `'pattern'` | `pattern` — Defines a regular expression which the element's value will be validated against. |
| <span id="case-PLACEHOLDER"></span>`PLACEHOLDER` | `'placeholder'` | `placeholder` — Provides a hint to the user of what can be entered in the field. |
| <span id="case-READONLY"></span>`READONLY` | `'readonly'` | `readonly` — Indicates whether the element can be edited. |
| <span id="case-REFERRERPOLICY"></span>`REFERRERPOLICY` | `'referrerpolicy'` | `referrerpolicy` — Specifies which referrer to use when fetching the resource. |
| <span id="case-REL"></span>`REL` | `'rel'` | `rel` — Specifies the relationship of the target object to the link object. |
| <span id="case-REQUIRED"></span>`REQUIRED` | `'required'` | `required` — Indicates whether this element is required to fill out or not. |
| <span id="case-SIZE"></span>`SIZE` | `'size'` | `size` — Defines the width of the element (in pixels). |
| <span id="case-SRC"></span>`SRC` | `'src'` | `src` — Specifies the URL of the resource. |
| <span id="case-STEP"></span>`STEP` | `'step'` | `step` — Defines the granularity of the value in an input of type number or range. |
| <span id="case-TARGET"></span>`TARGET` | `'target'` | `target` — Specifies the browsing context for hyperlink navigation or form submission. |
| <span id="case-TYPE"></span>`TYPE` | `'type'` | `type` — Defines the type of the element. |