Search code examples
asp.netformattingaspbutton

How can i add superscript to asp.net button control?


I have an asp.net button control used inside ajax AccordionPane and i want to apply the superscipt to the text of button such as "Button1 *Demo ".How can i do this?


Solution

  • Style it just as you would normal HTML/CSS:

    <button ID="btn" runat="server">Button 1 <sup>*Demo</sup></button>