Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Superscript text in HTML <input type="submit" />

Tags:

html

css

Is it possible to use superscript text in the value field of the <input> tag (for example to use with registration mark)?

<input type="submit" name="submit" value="Sometext&reg;"/>
like image 356
tomexx Avatar asked Dec 12 '22 20:12

tomexx


1 Answers

You could use the <button type="submit"> element instead of <input type="submit"> Then you can include any markup you want in the description, like, e.g., <sup> for superscripted text:

<button type="submit">someText with <sup>superscripted parts</sup> </button>
like image 85
Sirko Avatar answered Dec 29 '22 08:12

Sirko