What Is HTML Entity Encoding and Decoding? Principles and Usage of Special Character Escaping
What does HTML entity encoding and decoding mean? It is the process of converting characters that have special meaning in HTML, such as ` and & and ", to and from entity forms such as <, >, &, and "`. Encoding makes special characters display safely on the page, while decoding restores entities to readable characters. The whole process only performs text replacement and does not involve encryption.
To understand what HTML entity encoding and decoding means, the key lies in the word "escaping." When the browser parses the page, it will treat `