# GlobalAttribute

> Represents HTML global 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) › GlobalAttribute

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

Represents HTML global attribute names.

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

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-ACCESSKEY"></span>`ACCESSKEY` | `'accesskey'` | `accesskey` — Keyboard shortcut to activate or add focus to the element. |
| <span id="case-ANCHOR"></span>`ANCHOR` | `'anchor'` | `anchor` — Associates a positioned element with an anchor element. |
| <span id="case-AUTOCAPITALIZE"></span>`AUTOCAPITALIZE` | `'autocapitalize'` | `autocapitalize` — Controls whether and how text input is automatically capitalized. |
| <span id="case-AUTOCORRECT"></span>`AUTOCORRECT` | `'autocorrect'` | `autocorrect` — Controls whether autocorrection is enabled for editable text. |
| <span id="case-AUTOFOCUS"></span>`AUTOFOCUS` | `'autofocus'` | `autofocus` — Indicates that the element should be focused on page load. |
| <span id="case-CLASS_CSS"></span>`CLASS_CSS` | `'class'` | `class` — Space-separated list of class names for the element. |
| <span id="case-CONTENTEDITABLE"></span>`CONTENTEDITABLE` | `'contenteditable'` | `contenteditable` — Indicates whether the element's content is editable. |
| <span id="case-DATA"></span>`DATA` | `'data'` | `data-*` — Custom data attributes for storing extra information on elements. |
| <span id="case-DIR"></span>`DIR` | `'dir'` | `dir` — Defines the text directionality of the element. |
| <span id="case-DRAGGABLE"></span>`DRAGGABLE` | `'draggable'` | `draggable` — Indicates whether the element can be dragged. |
| <span id="case-ENTERKEYHINT"></span>`ENTERKEYHINT` | `'enterkeyhint'` | `enterkeyhint` — Hints what action label to present for the enter key on virtual keyboards. |
| <span id="case-EXPORTPARTS"></span>`EXPORTPARTS` | `'exportparts'` | `exportparts` — Exports shadow parts from a shadow tree to a containing tree. |
| <span id="case-HIDDEN"></span>`HIDDEN` | `'hidden'` | `hidden` — Indicates that the element is not yet, or is no longer, relevant. |
| <span id="case-ID"></span>`ID` | `'id'` | `id` — Defines a unique identifier for the element. |
| <span id="case-INERT"></span>`INERT` | `'inert'` | `inert` — Indicates that the element and its descendants are not interactive. |
| <span id="case-INPUTMODE"></span>`INPUTMODE` | `'inputmode'` | `inputmode` — Hints at the type of data that might be entered for virtual keyboard optimization. |
| <span id="case-IS"></span>`IS` | `'is'` | `is` — Specifies that a standard HTML element should behave like a defined custom element. |
| <span id="case-ITEMID"></span>`ITEMID` | `'itemid'` | `itemid` — The unique, global identifier of an item in microdata. |
| <span id="case-ITEMPROP"></span>`ITEMPROP` | `'itemprop'` | `itemprop` — Adds properties to an item in microdata. |
| <span id="case-ITEMREF"></span>`ITEMREF` | `'itemref'` | `itemref` — References elements that are not descendants of the element with the `itemscope` attribute. |
| <span id="case-ITEMSCOPE"></span>`ITEMSCOPE` | `'itemscope'` | `itemscope` — Defines the scope of associated metadata in microdata. |
| <span id="case-ITEMTYPE"></span>`ITEMTYPE` | `'itemtype'` | `itemtype` — Specifies the URL of the vocabulary that will be used to define item properties in microdata. |
| <span id="case-LANG"></span>`LANG` | `'lang'` | `lang` — Defines the language of the element's content. |
| <span id="case-NONCE"></span>`NONCE` | `'nonce'` | `nonce` — Cryptographic nonce used by Content Security Policy to determine whether a given fetch will be allowed. |
| <span id="case-PART"></span>`PART` | `'part'` | `part` — Space-separated list of part names of the element exposed to parent trees via shadow DOM. |
| <span id="case-POPOVER"></span>`POPOVER` | `'popover'` | `popover` — Designates an element as a popover element and specifies its type. |
| <span id="case-ROLE"></span>`ROLE` | `'role'` | `role` — Defines an explicit ARIA role for the element. |
| <span id="case-SLOT"></span>`SLOT` | `'slot'` | `slot` — Assigns a slot in a shadow DOM shadow tree to an element. |
| <span id="case-SPELLCHECK"></span>`SPELLCHECK` | `'spellcheck'` | `spellcheck` — Defines whether the element may be checked for spelling errors. |
| <span id="case-STYLE"></span>`STYLE` | `'style'` | `style` — Contains inline CSS styling declarations to be applied to the element. |
| <span id="case-TABINDEX"></span>`TABINDEX` | `'tabindex'` | `tabindex` — Indicates if the element can be focused and its relative order for sequential focus navigation. |
| <span id="case-TITLE"></span>`TITLE` | `'title'` | `title` — Contains advisory information related to the element. |
| <span id="case-TRANSLATE"></span>`TRANSLATE` | `'translate'` | `translate` — Specifies whether an element's attribute values and text content should be translated. |
| <span id="case-VIRTUALKEYBOARDPOLICY"></span>`VIRTUALKEYBOARDPOLICY` | `'virtualkeyboardpolicy'` | `virtualkeyboardpolicy` — Controls the behavior of the virtual keyboard on devices such as tablets and phones. |
| <span id="case-WRITINGSUGGESTIONS"></span>`WRITINGSUGGESTIONS` | `'writingsuggestions'` | `writingsuggestions` — Controls whether writing suggestions are enabled in the browser for the element. |