Important differences between textContent and innerText
Vložit
- čas přidán 13. 05. 2023
- Did you know that textContent and innerText, while similar properties, actually have differences in their values that could impact your project?
Code from video: gist.github.com/prof3ssorSt3v...
Thanks...after seeing so many videos at last your video made me clear
Thanks A Lot For Your Clear Explaination.
Great explanation!
thanks steve
Thank you very much. This was really useful
Thanks
Thanks, If I understand right, innerText is a better option for navigator.writeText to copy contents same as what user see in web page.
Probably. My point is just to be aware that there is a difference and consider how it impacts what you are building.
I am in!
👏🏻 👏🏻 👏🏻
textContent shows the element in the page or console if its hidden by Css display: none; , but innerText doesnt . so how u saying it doesnt shown on textContent Feature??
Hmm, I can't find your channel on odysee!!
Good content BTW.