http://perfectionkills.com/the-poor-misunderstood-innerText/ Perfection Kills by kangax Exploring Javascript by example - back 3706 words 1 April 2015 The poor, misunderstood innerText Few things are as misunderstood and misused on the web as innerText property. That quirky, non-standard way of element's text retrieval, [introduced by Internet Explorer](https://msdn.microsoft.com/en-us/ library/ie/ms533899%28v=vs.85%29.aspx) and later "copied" by both WebKit/Blink and Opera for web-compatibility reasons. It's usually seen in combination with textContent -- as a cross-browser way of using standard property followed by a proprietary one: Or as the main webcompat offender in [numerous Mozilla tickets](https:// bugzilla.mozilla.org/show_bug.cgi?id=264412#c24) -- since Mozilla is one of the only major browsers refusing to add this non-standard property -- when someone doesn't know what they're doing, skipping textContent "fallback" altogether: innerText is pretty much always frown upon. After all, why would you want to use a non-standard property that does the "same" thing as a standard one? Very few people venture to actually check the differences, and on the surface it certainly appears as there is none. Those curious enough to investigate further usually do find them, but only slight ones, and only when retrieving text, not setting it. Back in 2009, I did just that. And I even wrote [this StackOverflow answer](http:// stackoverflow.com/a/1359822/130652) on the exact differences -- slight whitespace deviations, things like inclusion of