What is HTML Encoding?
HTML encoding converts special characters like <, >, &, and quotes into their HTML entity equivalents (< > &). This prevents XSS vulnerabilities and ensures special characters render correctly in browsers instead of being parsed as HTML tags.