html how to remove attribute#

JavaScript
element.removeAttribute(attributename)
Source

Also in JavaScript: