---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---

# removeAttribute

The `removeAttribute` method removes the specified attribute from the element.

## Syntax

```js
element.removeAttribute(attributeName);
```

### Parameters

- `attributeName` _: string_
  - The name of the attribute to remove.
