📌  相关文章
📜  javascript 元素编辑文本 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:57.230000             🧑  作者: 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