remove attribute javascript

JavaScript
document.getElementsByTagName("H1")[0].removeAttribute("class");document.getElementById('my-input-id').disabled = false;element.removeAttribute(attributename)
Source

Also in JavaScript: