[TOC]

1.innerText不识别html标签(非标准),去除空格和换行
2.innerHTML识别html标签(W3C标准),保留空格和换行
3.这里两个都具有可读写性




我是文字
123



.