The HTML Sanitizer API is a deprecated web API that sanitizes untrusted HTML content to protect against XSS attacks. Use this tag for questions about implementing or extending the HTML Sanitizer API.