# HTML Attribute API reference

> API reference of the HTML Attribute extension (UIAwesome\Html\Attribute), generated from its PHPDoc.

[API reference](/docs/api/index.md) › HTML Attribute

Classes, interfaces, traits and enums of `UIAwesome\Html\Attribute`, generated from the PHPDoc of [ui-awesome/html-attribute](https://github.com/ui-awesome/html-attribute) at `main`. Machine-readable catalog: [html-attribute.json](https://yii2-framework.github.io/docs/reference/html-attribute.json).

## Namespaces

| Namespace | Types |
| --- | --- |
| [`UIAwesome\Html\Attribute\Exception`](/docs/extensions/html-attribute/reference/exception/index.md) | 1 |
| [`UIAwesome\Html\Attribute\Global`](/docs/extensions/html-attribute/reference/global/index.md) | 24 |
| [`UIAwesome\Html\Attribute\Values`](/docs/extensions/html-attribute/reference/values/index.md) | 31 |

## Traits

| Trait | Summary |
| --- | --- |
| [`CanBeDisabled`](/docs/extensions/html-attribute/reference/canbedisabled/index.md) | Provides an immutable API for the `disabled` attribute. |
| [`CanBeSelected`](/docs/extensions/html-attribute/reference/canbeselected/index.md) | Provides an immutable API for the `selected` attribute. |
| [`HasAs`](/docs/extensions/html-attribute/reference/hasas/index.md) | Provides an immutable API for the `as` attribute. |
| [`HasBlocking`](/docs/extensions/html-attribute/reference/hasblocking/index.md) | Provides an immutable API for the `blocking` attribute. |
| [`HasCharset`](/docs/extensions/html-attribute/reference/hascharset/index.md) | Provides an immutable API for the `charset` attribute. |
| [`HasContent`](/docs/extensions/html-attribute/reference/hascontent/index.md) | Provides an immutable API for the `content` attribute. |
| [`HasCrossorigin`](/docs/extensions/html-attribute/reference/hascrossorigin/index.md) | Provides an immutable API for the `crossorigin` attribute. |
| [`HasDownload`](/docs/extensions/html-attribute/reference/hasdownload/index.md) | Provides an immutable API for the `download` attribute. |
| [`HasFetchpriority`](/docs/extensions/html-attribute/reference/hasfetchpriority/index.md) | Provides an immutable API for the `fetchpriority` attribute. |
| [`HasFor`](/docs/extensions/html-attribute/reference/hasfor/index.md) | Provides an immutable API for the `for` attribute. |
| [`HasHreflang`](/docs/extensions/html-attribute/reference/hashreflang/index.md) | Provides an immutable API for the `hreflang` attribute. |
| [`HasHttpEquiv`](/docs/extensions/html-attribute/reference/hashttpequiv/index.md) | Provides an immutable API for the `http-equiv` attribute. |
| [`HasImageSizes`](/docs/extensions/html-attribute/reference/hasimagesizes/index.md) | Provides an immutable API for the `imagesizes` attribute. |
| [`HasImageSrcSet`](/docs/extensions/html-attribute/reference/hasimagesrcset/index.md) | Provides an immutable API for the `imagesrcset` attribute. |
| [`HasIntegrity`](/docs/extensions/html-attribute/reference/hasintegrity/index.md) | Provides an immutable API for the `integrity` attribute. |
| [`HasLabel`](/docs/extensions/html-attribute/reference/haslabel/index.md) | Provides an immutable API for the `label` attribute. |
| [`HasMedia`](/docs/extensions/html-attribute/reference/hasmedia/index.md) | Provides an immutable API for the `media` attribute. |
| [`HasName`](/docs/extensions/html-attribute/reference/hasname/index.md) | Provides an immutable API for the `name` attribute. |
| [`HasPing`](/docs/extensions/html-attribute/reference/hasping/index.md) | Provides an immutable API for the `ping` attribute. |
| [`HasReferrerpolicy`](/docs/extensions/html-attribute/reference/hasreferrerpolicy/index.md) | Provides an immutable API for the `referrerpolicy` attribute. |
| [`HasRel`](/docs/extensions/html-attribute/reference/hasrel/index.md) | Provides an immutable API for the `rel` attribute. |
| [`HasSizes`](/docs/extensions/html-attribute/reference/hassizes/index.md) | Provides an immutable API for the `sizes` attribute. |
| [`HasSrc`](/docs/extensions/html-attribute/reference/hassrc/index.md) | Provides an immutable API for the `src` attribute. |
| [`HasTarget`](/docs/extensions/html-attribute/reference/hastarget/index.md) | Provides an immutable API for the `target` attribute. |
| [`HasType`](/docs/extensions/html-attribute/reference/hastype/index.md) | Provides an immutable API for the `type` attribute of form controls. |
| [`HasValue`](/docs/extensions/html-attribute/reference/hasvalue/index.md) | Provides an immutable API for the `value` attribute. |