📜  使用 javascript 代码示例生成 html

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

代码示例1
let elem = document.getElementById("the tag you want to change code of");
elem.innerHTML = "

Hello

"; document.innerHTML += 'click me !';