# ElementAttribute

> Represents element-specific 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) › ElementAttribute

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

Represents element-specific attribute names.

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

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-ALT"></span>`ALT` | `'alt'` | `alt` — Alternative text in case an image can't be displayed. |
| <span id="case-AS"></span>`AS` | `'as'` | `as` — Specifies the type of content being loaded by the link element. |
| <span id="case-AUTOPLAY"></span>`AUTOPLAY` | `'autoplay'` | `autoplay` — Indicates that media should begin playback automatically when it can. |
| <span id="case-BLOCKING"></span>`BLOCKING` | `'blocking'` | `blocking` — Indicates that certain operations should be blocked on the fetching of an external resource. |
| <span id="case-CHARSET"></span>`CHARSET` | `'charset'` | `charset` — Declares the document's character encoding. |
| <span id="case-CLOSEDBY"></span>`CLOSEDBY` | `'closedby'` | `closedby` — Specifies which user actions can close a `<dialog>` element. |
| <span id="case-CONTROLS"></span>`CONTROLS` | `'controls'` | `controls` — Indicates that browser playback controls should be displayed for media. |
| <span id="case-CONTROLSLIST"></span>`CONTROLSLIST` | `'controlslist'` | `controlslist` — Hints which built-in controls should be shown for media elements. |
| <span id="case-DECODING"></span>`DECODING` | `'decoding'` | `decoding` — Provides a hint to the browser for image decoding behavior. |
| <span id="case-DEFAULT"></span>`DEFAULT` | `'default'` | `default` — Indicates the default track to enable for media playback. |
| <span id="case-DISABLEREMOTEPLAYBACK"></span>`DISABLEREMOTEPLAYBACK` | `'disableremoteplayback'` | `disableremoteplayback` — Disables remote playback controls and capability for media. |
| <span id="case-DOWNLOAD"></span>`DOWNLOAD` | `'download'` | `download` — Indicates that the hyperlink is to be used for downloading a resource. |
| <span id="case-HEIGHT"></span>`HEIGHT` | `'height'` | `height` — Specifies the height of certain elements. |
| <span id="case-HREF"></span>`HREF` | `'href'` | `href` — The URL of a linked resource. |
| <span id="case-HREFLANG"></span>`HREFLANG` | `'hreflang'` | `hreflang` — Indicates the language of the linked resource. |
| <span id="case-HTTP_EQUIV"></span>`HTTP_EQUIV` | `'http-equiv'` | `http-equiv` — Defines a pragma directive for processing the document. |
| <span id="case-IMAGESIZES"></span>`IMAGESIZES` | `'imagesizes'` | `imagesizes` — Specifies the image sizes for preload. |
| <span id="case-IMAGESRCSET"></span>`IMAGESRCSET` | `'imagesrcset'` | `imagesrcset` — Specifies the image srcset for preload. |
| <span id="case-KIND"></span>`KIND` | `'kind'` | `kind` — Indicates how a text track should be used. |
| <span id="case-LABEL"></span>`LABEL` | `'label'` | `label` — Text used as a label for an option or option group. |
| <span id="case-LIST"></span>`LIST` | `'list'` | `list` — Identifies a `<datalist>` element that provides predefined options to suggest to the user. |
| <span id="case-LOADING"></span>`LOADING` | `'loading'` | `loading` — Indicates how the browser should load the image. |
| <span id="case-LOOP"></span>`LOOP` | `'loop'` | `loop` — Indicates that media should restart automatically after reaching the end. |
| <span id="case-MUTED"></span>`MUTED` | `'muted'` | `muted` — Indicates that media output is initially silenced. |
| <span id="case-NAME"></span>`NAME` | `'name'` | `name` — Specifies the metadata name for the meta element. |
| <span id="case-OPEN"></span>`OPEN` | `'open'` | `open` — Indicates whether the contents of the details element are visible. |
| <span id="case-PING"></span>`PING` | `'ping'` | `ping` — A space-separated list of URLs to which the browser will send POST requests when the link is followed. |
| <span id="case-POPOVERTARGET"></span>`POPOVERTARGET` | `'popovertarget'` | `popovertarget` — Identifies the popover element that is associated with the current element. |
| <span id="case-POPOVERTARGETACTION"></span>`POPOVERTARGETACTION` | `'popovertargetaction'` | `popovertargetaction` — Defines the action to be performed on the popover element when the current element is activated. |
| <span id="case-PRELOAD"></span>`PRELOAD` | `'preload'` | `preload` — Provides a hint about preloading behavior for media resources. |
| <span id="case-SELECTED"></span>`SELECTED` | `'selected'` | `selected` — Indicates whether an option is initially selected. |
| <span id="case-SIZES"></span>`SIZES` | `'sizes'` | `sizes` — Defines the sizes of icons for visual media. |
| <span id="case-SRCLANG"></span>`SRCLANG` | `'srclang'` | `srclang` — Language of text track data. |
| <span id="case-SRCSET"></span>`SRCSET` | `'srcset'` | `srcset` — Defines a set of images for the browser to choose from. |
| <span id="case-USEMAP"></span>`USEMAP` | `'usemap'` | `usemap` — Associates the image with a `<map>` element. |
| <span id="case-VALUE"></span>`VALUE` | `'value'` | `value` — Indicates the current ordinal value of the list item. |
| <span id="case-WIDTH"></span>`WIDTH` | `'width'` | `width` — Specifies the width of certain elements. |