Monday, August 31, 2009

Use special characters, superscript, subscript in HTML button

To use special characters, superscript, subscript in HTML button use the <button> tag instead of <input type="button"> tag.
To use special character you can use their corresponding ASCII codes

Ex.
<button>a<sup>3</sup></button> which gives

1 comment:

  1. Thank you very much. I wanted this info to write chemistry and maths formulae for my blogs. I am now able to write chemistry formulae. Thanks again!

    ReplyDelete