Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the html code to show the registered symbol

Tags:

html

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?

like image 696
Jacob Avatar asked Dec 02 '10 15:12

Jacob


People also ask

How do I show the registered symbol in HTML?

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

How do I get the R symbol in HTML?

Open the HTML editor of your choice. Place this HTML code '& # 1 7 4 ;' (special character HTML code for register symbol) or character code '& r e g;'(character code for register symbol).

What is the code for registered symbol?

Alt + 0174 for the registered trademark symbol ® Alt + 0169 for the copyright symbol ©


2 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®.

like image 151
BalusC Avatar answered Sep 23 '22 07:09

BalusC


<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.

like image 27
Surreal Dreams Avatar answered Sep 23 '22 07:09

Surreal Dreams