要素から属性を削除します。
パラメータattrは、属性名を文字列で指定します。例えば、 myElement.removeAttribute('align')を呼び出すと、設定されている場合に align属性を削除します。
実例
シンタックス
removeAttribute(attr)
パラメーター
attr
String:
削除する属性。
Notice any errors or typos? Please let us know. Please feel free to edit src/dom/dom.js and open a pull request!