Sayeed Ahmed
Sayeed Ahmed

Reputation: 53

<sup> Superscript tag not working as expected

I have a superscript tag in my however that tag is not working as expected, it doesn't display in top or little upper side of the subtext

<td name="name">
<span class="container">
<a name="description">Protection</a>
</span>
<sup style="font-size:.6em">1</sup> 
<div name="limit" class="ismedium">
$12345
</div>
</td>

enter image description here

If i remove style property from tag then the text 1 doesn't have any superscript effect it just displays as normal text as below

<td name="name">
    <span class="container">
    <a name="description">Protection</a>
    </span>
    <sup>1</sup> 
    <div name="limit" class="ismedium">
    $12345
    </div>
    </td>

enter image description here

Upvotes: 0

Views: 802

Answers (1)

Zeel Vanani
Zeel Vanani

Reputation: 119

Please find the code below:

<td name="name">
    <span class="container">
      <a name="description">Protection</a>
      <sup>1</sup> 
    </span>
    <div name="limit" class="ismedium">$12345</div>
</td>

Upvotes: 2

Related Questions