Reputation: 53
I need to display superscripted MC in the title
tag in the html head
.
So far I am trying to display that with \uD83C\uDD6A according to the unicode character set in this page .
So I am able to see superscripted MC in my chrome browser when I load the web page.
But it's not visible in any other chrome in other peoples MAC or windows.
Since we cannot use css
style or <sup>
in title tag
.
What could be a solution for achieving the same?
Upvotes: 1
Views: 6094
Reputation: 297
Try this:
<title>🅪 or 🅪 or 🅪</title>
Or:
document.title = "🅪 or 🅪 or 🅪";
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.
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
The UTF-8 character set supports all languages. But just in case..
<html lang="en">
All language codes can be found here.
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.
Upvotes: 1
Reputation: 1579
Referring to an old question and answer, you should use 🅪
when using it directly in your title-tag.
Upvotes: 0