📜  javascript write in id - Javascript代码示例

📅  最后修改于: 2022-03-11 15:01:10.593000             🧑  作者: Mango

代码示例2
element.innerHTML =  "

read this

" Change the inner HTML of an element element.style.color = "blue"; Change the style of an HTML element element.setAttribute(important, "true") Change the attribute value of an HTML element element.important = "true" Change the attribute value of an HTML element