Create subscript using HTML

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • Answered
I would like to display subscript in my text - i.e. NO2 where the 2 is properly subscripted. I tried using the shortcut in the HTML option but it did not appear to work. Is there a way to do this?
Photo of Veris Industries

Veris Industries

  • 14 Posts
  • 1 Reply Like
  • curious and wishing this was easier.

Posted 1 year ago

  • 0
  • 1
Photo of Bradford Technologies

Bradford Technologies

  • 12 Posts
  • 2 Reply Likes
If you can add HTML, use <sub>2</sub>

You may want to add a font-size to control size of the sub character:

NO<sub style="font-size: 9px;">2</sub>  I used 9px as an example.  NOTE: DO NOT USE pt as most email clients only recognize px.
Photo of Veris Industries

Veris Industries

  • 14 Posts
  • 1 Reply Like
Thanks! This is a great workaround, although not perfect. Since the copy is also within a hyperlink, the font size also affects the underline of the link. Definitely closer though - thanks again!
Photo of Laura Dickerson

Laura Dickerson, Official Rep

  • 778 Posts
  • 64 Reply Likes
Hi there,

Bradford Technologies is dead on up there. That is great info to get you started.  You want the subscript to be a part of a hyperlink too? Or an not underlined hyperlink?
Photo of Veris Industries

Veris Industries

  • 14 Posts
  • 1 Reply Like
Hi Laura,

Yes, the subscript is within a hyperlink. Bradford Technologies' tip works great, but because the line of text is underlined due to being a hyperlink, the code also kicks down the underlined part of the copy. Is there a way to remove the underline in a hyperlink? That might be the final fix. 

Thanks!
Sarah
Photo of Laura Dickerson

Laura Dickerson, Official Rep

  • 778 Posts
  • 64 Reply Likes
Try:  <a style="text-decoration:none;" href="YOURurl.com"><sup>text here</sup></a>
Photo of steve smith

steve smith

  • 2 Posts
  • 0 Reply Likes
Hello 
i agree with this:
If you can add HTML, use <sub>2</sub>

You may want to add a font-size to control size of the sub character:

NO<sub style="font-size: 9px;">2</sub>  I used 9px as an example.  NOTE: DO NOT USE pt as most email clients only recognize px.
best regards
steve smith
Technical assistant at online dissertation proposal writing in UK.