textcontent vs innertext w3schools

Below you can find a summary: innerText was non-standard, while textContent was standardized earlier. ; innerHtml returns all text, including html tags, that is contained by an element. The W3Schools online code editor allows you to edit code and view the result in your browser The innerText property returns: Just the text content of the element and all its children, without CSS hidden text spacing and tags, except