About the HTML Entity Tool
What are HTML Entities?
HTML entities are a way to represent special characters in HTML. For example, < represents < and & represents &. Using entities prevents characters from being interpreted as HTML tags, and is one of the fundamental defenses against XSS attacks.
Common Entities
| Entity | Char |
|---|---|
| &amp; | & |
| &lt; | < |
| &gt; | > |
| &quot; | " |
| &#39; | ' |
| &nbsp; | |
| &copy; | © |
| &reg; | ® |
| &euro; | € |
| &yen; | ¥ |
| &#x4E2D; | 中 |
| &#20013; | 中 |