Saturday, January 2, 2010

Displaying trademark, copyright etc in HTML

This blog talks about a simple trick on how to show the trademark, copyright and registered symbols in HTML. To display trademark, copyright and registered symbols one needs to use “™”, “©” and “®” respectively with any of the html tags. Below are some html and ASP.NET code samples.

//Trademark symbol displayed in the title window.
<title>My Company &trade;</title>
//Copyright symbol in a table header
<table width="100px">
        <tr><th> Heading &copy;</th></tr>
//Registered symbol in a ASP.NET textbox
<asp:TextBox ID="TextBox1" runat="server" Text="&reg;"></asp:TextBox>
//Trademark, copyright and registered symbol in a ASP.NET label control
<asp:Label ID="Label2" runat="server" Text="&trade; &copy; &reg;"></asp:Label>

Try to know more.



  1. Hello Sandeep,
    If u want Show trade mark through the C# code, u can use Unicode character "\u2122".

  2. Hi Amol,
    Thanks for the info. Not only copyright registered symbol and others can only be displayed using unicode character. If you want to know the unicode character for the various symbols then one can use the "CharaterMap" utility provided in windows. The utility is under "Accessories"->System Tools menu.

  3. Thanx Sandeep for this information, It's really helpful for me. :)

  4. Good information i am also searching for this method, but finally i have found it, Copyright Symbol Alt code and javacript entity code we can copy from this site very useful site.


Please provide your valuable comments.