HTML DOM removeAttribute() 方法元素对象实例删除头部元素的style 属性:document.getElementsByTagName("H1")[0].removeAttribute("style");删除属性前:Hello W.
確定! 回上一頁