Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a page title CO2. The title in the nav menu shows it fine but breadcrumb renders the HTML as text CO<sub>2</sub>.

Is there an easy way to fix it?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

No tags are recognized in a title element by HTML rules (and by browser practice); they are indeed rendered as such. In principle, you can use special characters like “₂” SUBSCRIPT TWO U+2082 in a title element. You can even denote them using character references:

<title>CO&#x2082;</title>

However, only some fonts support SUBSCRIPT TWO, and it is quite possible that the rendering of title elements e.g. in a browser top bar or tab label uses a font that does not support to it. In that case, a rectangle, vertical bar, space, or other generic indicator of missing glyph probably appears.

share|improve this answer
    
+1, &#x2082 did the trick. Thank you. –  vulcan raven Sep 11 '12 at 8:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.