+ 2

How to use <sup> tag in value attribute in html?

i want use x^2 as value in a input tag how to use <sup>2</sup> in value attribute

23rd May 2018, 1:12 PM
Nilanjan Raha
Nilanjan Raha - avatar
3 Réponses
+ 2
👉 10<sup>2</sup>
23rd May 2018, 1:33 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 2
<input text="text" value="x²">
23rd May 2018, 1:44 PM
Sudarshan Rai
Sudarshan Rai - avatar
0
in value attribute of input tag??
23rd May 2018, 1:36 PM
Nilanjan Raha
Nilanjan Raha - avatar