> For the complete documentation index, see [llms.txt](https://docs.novarietygames.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.novarietygames.com/websitecreator/luascript/dom/elements/removeattribute.md).

# removeAttribute

The remov&#x65;**`Attribute()`** method removes a attribute from a element

**Example**

```lua
document.querySelector("body").removeAttribute("id")
```
