how to delete an attribute from an element in html js code example
Example: remove attribute javascript
document.getElementsByTagName("H1")[0].removeAttribute("class");
document.getElementsByTagName("H1")[0].removeAttribute("class");