Hexret

Web Security · Client-side

textContent

A DOM property that inserts a value as text instead of parsing it as HTML. Use it for ordinary text display. This protection applies to that insertion only. Reusing the value in another context requires a new safety decision.

Where you practice it

Related terms