Apart from using image on the button, how can I write XY on the HTML button?
+7
A:
Assuming you mean XY then <button>X<sup>Y</sup></button>
If you were being literal, then <button>X^Y</button>
David Dorward
2009-10-26 15:00:30
Yes, I mean the upper one. thx.
Ted Wong
2009-10-26 15:03:33
A:
If you're looking to have even more complex equations displayed on a webpage, not just as text in your button. Here is an interesting page that talks about math expressions and HTML.
Chris
2009-10-26 15:27:18