What is the html code to show the registered symbol

Not ® that shows a registered symbol next to text, I want the small one that sits on the top right hand corner of text. What is the entity code for that?

5 Answers

There's none. Just use <sup> (superscript) to put it on "top right".

<p>StackOverflow<sup>&reg;</sup></p>

Which should show up as StackOverflow® instead of StackOverflow®.

<sup>&reg;</sup>

The ® code itself is a "regular" character - use <sup> tags to superscript it and get that effect. Or in CSS, apply the following style to the character:

vertical-align: super;

So there is no "preformatted" character like ™ which is already super-scripted and small. You have to do it yourself.

Or if you don't exactly like the way that <sup>%reg;</sup> renders, you can always customize it: something like

<span>&reg;</span>
.sup { font-size: 70%; vertical-align: super;
}

note: this is untested CSS

Try:

<sup>&reg;</sup>

You can also use Hex value for Reg symbol code: &#174;

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like