Difference between innerHTML, innerText and textContent and their use cases
Hello guys, can someone explain the difference between innerHTML, innerText and textContent; from what I have understand, innerHMTL reads html tags that can be rendered by the browser but innerText and textContent doesn't.... but is there anything more to that?
Should we stick to only one of them or all have their use cases please
Should we stick to only one of them or all have their use cases please
