CSS superscript registration trademark
I know you asked CSS but this jQuery code worked for me, hope it helps you
<html>
<head>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js">
</script>
<script type="text/javascript">
$(document).ready(function() {
$("body").html(
$("body").html().replace("®", "<sup>®</sup>")
);
});
</script>
</head>
<body>
Some text here ®
</body>
</html>
Adding superscript sup tags around all trademark and registered trademark symbols
Instead of rewriting the entire markup (and removing all bound events), I'd go for something like that:
$('body :not(script)').contents().filter(function() {
return this.nodeType === 3;
}).replaceWith(function() {
return this.nodeValue.replace(/[™®©]/g, '<sup>$&</sup>');
});
DEMO: http://jsfiddle.net/QTfxC/
Superscript registered mark '®' inside select menu
There's no way to make a single character superscript inside an <option>
. You're stuck with a regular ® (®
).
How to show superscript for ® registered symbol?
Unicode does not have a registered
symbol in superscript form so the only way to do it is to use a HTML control and to include it into superscript tags: <sup>®</sup>
You can check it at http://rishida.net/scripts/uniview/
What is the html code to show the registered symbol
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®.
Display superscript in title tag of html head
Try this:
<title>🅪 or 🅪 or lt;/title>
Or:
document.title = "🅪 or 🅪 or quot;;
Alternative is:
document.title = '\uD83C\uDD6A';
If none of these are visible, it's probably a font issue on the browser itself. Utf-8 is widely supported.
EDIT
Ensure you are setting your charset:
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
The UTF-8 character set supports all languages. But just in case..
Add a language to your html:
<html lang="en">
All language codes can be found here.
Will update when I find more information on this matter...
In the end, formatting the title
tag is a time consuming activity.
Is the MC character really important? Does it add anything valuable to the SERP (Search Engine Results Page)?
MC in superscript is used as a trademark sign in, for example, Quebec, Canada.
In Canada, there is no legal obligation to use the ® , TM, MC or MD
symbols. It is however recommend to use ® (registered trade-mark) or
MD (marque de commerce déposée) in association with your registered
trade-marks. Symbols TM (trade-mark) or MC (marque de commerce) can be
used in association with your other trade-marks whether an application
has been filed or not. These symbols remind consumers and your
competitors that you are the owner of the trade-marks in question.Above was found here
How can I add the French trademark symbol (MD)?
For situations like this unicode superscript characters can come in handy. I copied the unicode for the letters MD from the link into the SSRS report and it worked no problem.
Example:
- MD = ᴹᴰ
- TM = ᵀᴹ
Unicode:
- M - 7481 - http://unicodelookup.com/#7481/1
- D - 7472 - http://unicodelookup.com/#7472/1
- T - 7488 - http://unicodelookup.com/#7488/1
Related Topics
CSS Transition When Class Removed
D3.Js Map (<Svg>) Auto Fit into Parent Container and Resize with Window
How to Set the Size of an HTML Text Box
How to Use Two-Column Layout with Reveal.Js
React Native: Different Styles Applied on Orientation Change
Prevent Wrapping of Menu Items
Why Is My CSS Not Updating in Web Browser
Can You Overlay a Transparent CSS3 Gradient Over a Background Image
How to Reduce Font Weight in Firefox on MAC with CSS
Can You Style the Google Translate Plugin
CSS Conventions/Code Layout Models
What Does :Global (Colon Global) Do
Change Svg Viewbox Size with CSS
Combining Multiple CSS Animations into One Overall Animation