> For the complete documentation index, see [llms.txt](https://docs.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.angular-package.dev/text/main/attribute.md).

# Attribute

The `Attribute` string object represents the [immutable](https://developer.mozilla.org/en-US/docs/Glossary/Immutable) attribute of name and value.

### Instance accessors

<table><thead><tr><th width="150">Attribute.prototype.</th><th>Decription</th><th data-hidden></th></tr></thead><tbody><tr><td>attribute</td><td></td><td></td></tr><tr><td>get</td><td></td><td></td></tr><tr><td>name</td><td></td><td></td></tr><tr><td>object</td><td></td><td></td></tr><tr><td>value</td><td></td><td></td></tr><tr><td>[Symbol.toStringTag]</td><td></td><td></td></tr></tbody></table>

### Static methods

<table><thead><tr><th width="159.3850553872428">Attribute.</th><th>Description</th></tr></thead><tbody><tr><td>isAttribute()</td><td>The static method checks whether the provided <code>value</code> of any type is an instance of <a href="/pages/HVqrvr20RUz8LKAbWRU9"><code>Tag</code></a>.</td></tr></tbody></table>

### Instance methods

| Attribute.prototype. | Description |
| -------------------- | ----------- |
| toArray()            |             |
| toObject()           |             |
| valueOf()            |             |
