# AttributeProperty

> Defines HTML attribute names.

[API reference](/docs/api/index.md) › [HTML Mixin](/docs/extensions/html-mixin/reference/index.md) › [Values](/docs/extensions/html-mixin/reference/values/index.md) › AttributeProperty

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

Defines 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-ACCEPT_CHARSET"></span>`ACCEPT_CHARSET` | `'accept-charset'` | `accept-charset` — The character encoding for form submission (historical use; usually "UTF-8"). |
| <span id="case-ACCESSKEY"></span>`ACCESSKEY` | `'accesskey'` | `accesskey` — Keyboard shortcut to activate or add focus to the element. |
| <span id="case-ACTION"></span>`ACTION` | `'action'` | `action` — The URI of a program that processes the information submitted via the form. |
| <span id="case-ALIGN"></span>`ALIGN` | `'align'` | `align` — (Deprecated) Specifies the horizontal alignment of the element. |
| <span id="case-ALLOW"></span>`ALLOW` | `'allow'` | `allow` — Specifies a feature policy for an iframe. |
| <span id="case-ALT"></span>`ALT` | `'alt'` | `alt` — Alternative text in case an image can't be displayed. |
| <span id="case-ASYNC"></span>`ASYNC` | `'async'` | `async` — Execute the script asynchronously. |
| <span id="case-AUTOCAPITALIZE"></span>`AUTOCAPITALIZE` | `'autocapitalize'` | `autocapitalize` — Controls whether and how text input is automatically capitalized. |
| <span id="case-AUTOCOMPLETE"></span>`AUTOCOMPLETE` | `'autocomplete'` | `autocomplete` — Indicates whether controls can have their values automatically completed. |
| <span id="case-AUTOFOCUS"></span>`AUTOFOCUS` | `'autofocus'` | `autofocus` — A hint that the element should be focused on page load. |
| <span id="case-AUTOPLAY"></span>`AUTOPLAY` | `'autoplay'` | `autoplay` — The audio or video should play as soon as possible. |
| <span id="case-BACKGROUND"></span>`BACKGROUND` | `'background'` | `background` — (Legacy) Specifies the URL of a background image. |
| <span id="case-BGCOLOR"></span>`BGCOLOR` | `'bgcolor'` | `bgcolor` — (Legacy) Background color of the element. |
| <span id="case-BORDER"></span>`BORDER` | `'border'` | `border` — (Legacy) The border width. |
| <span id="case-CAPTURE"></span>`CAPTURE` | `'capture'` | `capture` — Media capture hint for file inputs. |
| <span id="case-CHARSET"></span>`CHARSET` | `'charset'` | `charset` — Declares the character encoding of the page or script. |
| <span id="case-CHECKED"></span>`CHECKED` | `'checked'` | `checked` — Indicates whether the element should be checked on page load. |
| <span id="case-CITE"></span>`CITE` | `'cite'` | `cite` — Contains a URI which points to the source of a quote or change. |
| <span id="case-COLOR"></span>`COLOR` | `'color'` | `color` — (Legacy) Sets the text color. |
| <span id="case-COLS"></span>`COLS` | `'cols'` | `cols` — Number of columns for a textarea. |
| <span id="case-COLSPAN"></span>`COLSPAN` | `'colspan'` | `colspan` — Number of columns a table cell should span. |
| <span id="case-CONTENT"></span>`CONTENT` | `'content'` | `content` — A value associated with a meta element. |
| <span id="case-CONTENTEDITABLE"></span>`CONTENTEDITABLE` | `'contenteditable'` | `contenteditable` — Indicates whether the element's content is editable. |
| <span id="case-CONTROLS"></span>`CONTROLS` | `'controls'` | `controls` — Indicates whether media controls should be shown. |
| <span id="case-COORDS"></span>`COORDS` | `'coords'` | `coords` — Coordinates for area elements. |
| <span id="case-CROSSORIGIN"></span>`CROSSORIGIN` | `'crossorigin'` | `crossorigin` — How the element handles cross-origin requests. |
| <span id="case-CSS_CLASS"></span>`CSS_CLASS` | `'class'` | `class` — Space-separated list of classes for the element. |
| <span id="case-DATETIME"></span>`DATETIME` | `'datetime'` | `datetime` — Date and time associated with the element (e.g., `<time>`). |
| <span id="case-DECODING"></span>`DECODING` | `'decoding'` | `decoding` — Preferred method to decode an image. |
| <span id="case-DEFER"></span>`DEFER` | `'defer'` | `defer` — Indicates that the script should be executed after the page has been parsed. |
| <span id="case-DIR"></span>`DIR` | `'dir'` | `dir` — Text direction (ltr/rtl). |
| <span id="case-DIRNAME"></span>`DIRNAME` | `'dirname'` | `dirname` — Indicates that the element's text directionality should be submitted with the form control. |
| <span id="case-DISABLED"></span>`DISABLED` | `'disabled'` | `disabled` — Indicates that the user cannot interact with the element. |
| <span id="case-DOWNLOAD"></span>`DOWNLOAD` | `'download'` | `download` — Indicates that the hyperlink is to be used for downloading a resource. |
| <span id="case-DRAGGABLE"></span>`DRAGGABLE` | `'draggable'` | `draggable` — Defines whether the element can be dragged. |
| <span id="case-ENCTYPE"></span>`ENCTYPE` | `'enctype'` | `enctype` — Content type of the form data when method is POST. |
| <span id="case-ENTERKEYHINT"></span>`ENTERKEYHINT` | `'enterkeyhint'` | `enterkeyhint` — Hint for the enter key on virtual keyboards. |
| <span id="case-FETCHPRIORITY"></span>`FETCHPRIORITY` | `'fetchpriority'` | `fetchpriority` — Fetch priority hint for certain resources (images, links, scripts). |
| <span id="case-FOR"></span>`FOR` | `'for'` | `for` — Identifies the element(s) which the label is bound to. |
| <span id="case-FORM"></span>`FORM` | `'form'` | `form` — Indicates the form owner of a control. |
| <span id="case-FORMACTION"></span>`FORMACTION` | `'formaction'` | `formaction` — Overrides the action attribute of the form for a submit button. |
| <span id="case-FORMENCTYPE"></span>`FORMENCTYPE` | `'formenctype'` | `formenctype` — Overrides the form enctype for a submit button. |
| <span id="case-FORMMETHOD"></span>`FORMMETHOD` | `'formmethod'` | `formmethod` — Overrides the form method for a submit button. |
| <span id="case-FORMNOVALIDATE"></span>`FORMNOVALIDATE` | `'formnovalidate'` | `formnovalidate` — When present, form is not validated on submit for this button. |
| <span id="case-FORMTARGET"></span>`FORMTARGET` | `'formtarget'` | `formtarget` — Overrides the form target for a submit button. |
| <span id="case-HEADERS"></span>`HEADERS` | `'headers'` | `headers` — IDs of `<th>` elements which apply to this cell. |
| <span id="case-HEIGHT"></span>`HEIGHT` | `'height'` | `height` — Specifies the height of certain elements. |
| <span id="case-HIDDEN"></span>`HIDDEN` | `'hidden'` | `hidden` — Prevents rendering of the element. |
| <span id="case-HIGH"></span>`HIGH` | `'high'` | `high` — Upper bound of the upper range for `<meter>`. |
| <span id="case-HREF"></span>`HREF` | `'href'` | `href` — The URL of a linked resource. |
| <span id="case-HREFLANG"></span>`HREFLANG` | `'hreflang'` | `hreflang` — Specifies the language of the linked resource. |
| <span id="case-HTTP_EQUIV"></span>`HTTP_EQUIV` | `'http-equiv'` | `http-equiv` — Defines a pragma directive for meta elements. |
| <span id="case-ID"></span>`ID` | `'id'` | `id` — Unique identifier for the element. |
| <span id="case-INPUTMODE"></span>`INPUTMODE` | `'inputmode'` | `inputmode` — Hint about what kind of input modality (e.g., numeric) is expected. |
| <span id="case-INTEGRITY"></span>`INTEGRITY` | `'integrity'` | `integrity` — Subresource integrity metadata for fetched resources. |
| <span id="case-ISMAP"></span>`ISMAP` | `'ismap'` | `ismap` — Indicates that the image is part of a server-side image map. |
| <span id="case-ITEMID"></span>`ITEMID` | `'itemid'` | `itemid` — Microdata item identifier. |
| <span id="case-ITEMPROP"></span>`ITEMPROP` | `'itemprop'` | `itemprop` — Microdata item property name. |
| <span id="case-ITEMREF"></span>`ITEMREF` | `'itemref'` | `itemref` — Microdata item reference. |
| <span id="case-ITEMSCOPE"></span>`ITEMSCOPE` | `'itemscope'` | `itemscope` — Indicates that the element is a microdata item. |
| <span id="case-ITEMTYPE"></span>`ITEMTYPE` | `'itemtype'` | `itemtype` — Microdata item type. |
| <span id="case-KIND"></span>`KIND` | `'kind'` | `kind` — Kind of text track for `<track>` elements. |
| <span id="case-LABEL"></span>`LABEL` | `'label'` | `label` — User-readable title of the element. |
| <span id="case-LANG"></span>`LANG` | `'lang'` | `lang` — Language code for the element's content. |
| <span id="case-LIST"></span>`LIST` | `'list'` | `list` — Identifies a `datalist` element that provides predefined options. |
| <span id="case-LOADING"></span>`LOADING` | `'loading'` | `loading` — Lazy or eager loading hint for images and iframes. |
| <span id="case-LOOP"></span>`LOOP` | `'loop'` | `loop` — Indicates whether media should loop. |
| <span id="case-LOW"></span>`LOW` | `'low'` | `low` — Upper bound of the lower range for `<meter>`. |
| <span id="case-MAX"></span>`MAX` | `'max'` | `max` — Maximum numeric value for inputs and other controls. |
| <span id="case-MAXLENGTH"></span>`MAXLENGTH` | `'maxlength'` | `maxlength` — Maximum number of characters allowed. |
| <span id="case-MEDIA"></span>`MEDIA` | `'media'` | `media` — Hint describing the media for which the resource is designed. |
| <span id="case-METHOD"></span>`METHOD` | `'method'` | `method` — HTTP method used to submit a form (GET or POST). |
| <span id="case-MIN"></span>`MIN` | `'min'` | `min` — Minimum numeric value for inputs and other controls. |
| <span id="case-MINLENGTH"></span>`MINLENGTH` | `'minlength'` | `minlength` — Minimum number of characters required. |
| <span id="case-MULTIPLE"></span>`MULTIPLE` | `'multiple'` | `multiple` — Indicates that multiple values can be selected. |
| <span id="case-MUTED"></span>`MUTED` | `'muted'` | `muted` — Indicates whether the media should be muted by default. |
| <span id="case-NAME"></span>`NAME` | `'name'` | `name` — Name of the element, commonly used in form submissions. |
| <span id="case-NOVALIDATE"></span>`NOVALIDATE` | `'novalidate'` | `novalidate` — Indicates that a form shouldn't be validated on submit. |
| <span id="case-OPEN"></span>`OPEN` | `'open'` | `open` — Indicates whether details/dialog are open. |
| <span id="case-OPTIMUM"></span>`OPTIMUM` | `'optimum'` | `optimum` — Optimal numeric value for `<meter>`. |
| <span id="case-PATTERN"></span>`PATTERN` | `'pattern'` | `pattern` — Regular expression that the input's value must match. |
| <span id="case-PING"></span>`PING` | `'ping'` | `ping` — Space-separated list of URLs to be notified when the link is followed. |
| <span id="case-PLACEHOLDER"></span>`PLACEHOLDER` | `'placeholder'` | `placeholder` — Hint text for inputs and textareas. |
| <span id="case-PLAYSINLINE"></span>`PLAYSINLINE` | `'playsinline'` | `playsinline` — Hint to play video inline (not fullscreen). |
| <span id="case-POSTER"></span>`POSTER` | `'poster'` | `poster` — URL of poster frame for video. |
| <span id="case-PRELOAD"></span>`PRELOAD` | `'preload'` | `preload` — Hint about what media should be preloaded. |
| <span id="case-READONLY"></span>`READONLY` | `'readonly'` | `readonly` — Indicates that the value cannot be modified by the user. |
| <span id="case-REFERRERPOLICY"></span>`REFERRERPOLICY` | `'referrerpolicy'` | `referrerpolicy` — Referrer information to send when fetching the resource. |
| <span id="case-REL"></span>`REL` | `'rel'` | `rel` — Relationship of the linked resource to the current document. |
| <span id="case-REQUIRED"></span>`REQUIRED` | `'required'` | `required` — Indicates that a control must be filled out before submitting the form. |
| <span id="case-REVERSED"></span>`REVERSED` | `'reversed'` | `reversed` — Indicates that an ordered list is displayed in descending order. |
| <span id="case-ROLE"></span>`ROLE` | `'role'` | `role` — Defines an explicit ARIA role for the element. |
| <span id="case-ROWS"></span>`ROWS` | `'rows'` | `rows` — Number of rows for a textarea. |
| <span id="case-ROWSPAN"></span>`ROWSPAN` | `'rowspan'` | `rowspan` — Number of rows a table cell should span. |
| <span id="case-SANDBOX"></span>`SANDBOX` | `'sandbox'` | `sandbox` — Restricts capabilities of content in an iframe. |
| <span id="case-SCOPE"></span>`SCOPE` | `'scope'` | `scope` — Scope of a header cell in a table. |
| <span id="case-SELECTED"></span>`SELECTED` | `'selected'` | `selected` — Indicates that an option should be preselected on page load. |
| <span id="case-SHAPE"></span>`SHAPE` | `'shape'` | `shape` — Shape for area elements. |
| <span id="case-SIZE"></span>`SIZE` | `'size'` | `size` — Width in characters for inputs or number of items for select. |
| <span id="case-SIZES"></span>`SIZES` | `'sizes'` | `sizes` — Sizes attribute for responsive images and links. |
| <span id="case-SLOT"></span>`SLOT` | `'slot'` | `slot` — Assigns an element to a named slot in shadow DOM. |
| <span id="case-SPAN"></span>`SPAN` | `'span'` | `span` — Number of columns a `<col>` or `<colgroup>` should span. |
| <span id="case-SPELLCHECK"></span>`SPELLCHECK` | `'spellcheck'` | `spellcheck` — Indicates whether spell checking is enabled for the element. |
| <span id="case-SRC"></span>`SRC` | `'src'` | `src` — URL of embeddable content. |
| <span id="case-SRCDOC"></span>`SRCDOC` | `'srcdoc'` | `srcdoc` — HTML content for an iframe. |
| <span id="case-SRCLANG"></span>`SRCLANG` | `'srclang'` | `srclang` — Language of the track text data. |
| <span id="case-SRCSET"></span>`SRCSET` | `'srcset'` | `srcset` — One or more responsive image candidates. |
| <span id="case-START"></span>`START` | `'start'` | `start` — Starting value for ordered lists. |
| <span id="case-STEP"></span>`STEP` | `'step'` | `step` — Granularity of numeric inputs. |
| <span id="case-STYLE"></span>`STYLE` | `'style'` | `style` — Inline CSS styles for the element. |
| <span id="case-TABINDEX"></span>`TABINDEX` | `'tabindex'` | `tabindex` — Overrides the browser's default tab order. |
| <span id="case-TARGET"></span>`TARGET` | `'target'` | `target` — Where to display the response after following a link or submitting a form. |
| <span id="case-TITLE"></span>`TITLE` | `'title'` | `title` — Advisory title for the element (often shown as a tooltip). |
| <span id="case-TRANSLATE"></span>`TRANSLATE` | `'translate'` | `translate` — Whether the element's content should be translated. |
| <span id="case-TYPE"></span>`TYPE` | `'type'` | `type` — Type information for various elements (input, script, link, etc.). |
| <span id="case-USEMAP"></span>`USEMAP` | `'usemap'` | `usemap` — Indicates an image is associated with a client-side image map. |
| <span id="case-VALUE"></span>`VALUE` | `'value'` | `value` — Default value for form controls and other elements. |
| <span id="case-WIDTH"></span>`WIDTH` | `'width'` | `width` — Specifies the width of certain elements. |
| <span id="case-WRAP"></span>`WRAP` | `'wrap'` | `wrap` — Indicates how text should be wrapped in a textarea. |