Glossary: JavaScript in the Browser
textContent
A property that reads or replaces everything inside an element as plain text. It is the safe way to put text on a page.
Glossary: JavaScript in the Browser
A property that reads or replaces everything inside an element as plain text. It is the safe way to put text on a page.