How to encode sharp character in HTML?

HTML Special Character / Superscript

  • When I code the TM (Trademark) special character entity ™ it appears correctly as superscript. But when I code the (R) (Registered) special character entity ® it is the same size as the preceding text. How do I enter the special character entity for Registered and have it appear as superscript?

  • Answer:

    Hello B_Griffin, Try the following: <html> <head> <title>Example of Formatting Text</title> </head> <body> <p>This <sup>word&reg</sup> is Super-Script</p> </body> </html> in a file and view it with your favorite browser. I tested this example in: Internet Explorer Netscape Safari and should show something like: This ^^word(r)^^ is Super-Script where "word" and the registered mark will be in a smaller font / above the normal line of text. To find this answer, I tried the phrase: html superscript as a search and selected: http://www.2kweb.net/html-tutorial/text-fmts/superscript/ to get the example code (plus your use of &reg for the special character). Let me know in a clarification request if this does not work for you or you need additional help related to this question. --Maniac

b_griffin-ga at Google Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.