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>®</sup></p>Which should show up as StackOverflow® instead of StackOverflow®.
<sup>®</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>®</span>
.sup { font-size: 70%; vertical-align: super;
}note: this is untested CSS
Try:
<sup>®</sup> You can also use Hex value for Reg symbol code: ®