CSS
HTML DOM (Document Object Model): CSS
Categories:
變更 DOM Style 樣式
document.getElementById("myH1").style.color = "red";
element.style.backgroundColor = "red";
document.getElementById("myH1").style.color = "red";
element.style.backgroundColor = "red";