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
Subscribe to:
Post Comments (Atom)
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