📜  javascript 附加到段落 - Javascript 代码示例

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

代码示例3
document.getElementById("p").textContent += " This is the text from javascript.";

This is the text from HTML.