Reputation: 909
i wish to display a single label as "18th january 2011"... where 'th' hs to be in superscript.. how to do in asp.net with label??
Upvotes: 2
Views: 2720
Reputation: 99
You can use
<asp:Label ID="name" runat="server">18<sup>th</sup>January 2011</asp:Label>
Upvotes: 1
Reputation: 2468
The html tag for superscript is <sup>
: you could concatenate the d, M, & Y elements with this.
Upvotes: 0