Note: In the below source code replace all the

<xp> tags with <xmp>

Source


<html> <head> <title>HTML Character Entities</title> </head> <body> <h2>HTML Character Entities</h2> <table border="1" cellpadding="20"> <tr> <th>Entity Name</th> <th>Result</th> </tr> <tr> <td><xp>&copy;</xp></td> <td>&copy;</td> </tr> <tr> <td><xp>&reg;</xp></td> <td>&reg;</td> </tr> <tr> <td><xp>&trade;</xp></td> <td>&trade;</td> </tr> <tr> <td><xp>&amp;</xp></td> <td>&amp;</td> </tr> <tr> <td><xp>&lt;</xp></td> <td>&lt;</td> </tr> <tr> <td><xp>&gt;</xp></td> <td>&gt;</td> </tr> </table> </body> </html>

Output


HTML Character Entities

Entity Name Result
&copy; ©
&reg; ®
&trade;
&amp; &
&lt; <
&gt; >