HTML sanitization: Difference between revisions

Content deleted Content added
making a reference look tidier.
No edit summary
Line 1:
{{Orphan|date=December 2009}}
{{Refimprove|date=December 2009}}
'''HTML sanitization''' is the process of examining an HTML document and producing a new HTML document that preserves only whatever tags are designated "safe". HTML sanitization can be used to protect against [[cross-site scripting|cross-site scripting (XSS)]] attacks by sanitizing any HTML code submitted by a user.