Разница между внутренним текстом и NEER HTML
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.
Powerful Pygmy