You can add id or class attribute using JavaScript like the following way,. document.getElementsByTagName("H1")[0].setAttribute("class", "myclass");.
確定! 回上一頁