1.innerText不识别html标签(非标准),去除空格和换行2.innerHTML识别html标签(W3C标准),保留空格和换行3.这里两个都具有可读写性
我是文字 123
.
若有收获,就点个赞吧
0 人点赞
让时间为你证明