📜  innertext和neer html代码示例的区别

📅  最后修改于: 2022-03-11 14:52:53.431000             🧑  作者: Mango

代码示例1
innerText==It ignores the spaces.    It considers the spaces.
innerHTML==It returns text without an inner element tag.    It returns a tag with an inner element tag.