Link to home
Start Free TrialLog in
Avatar of swarajya
swarajyaFlag for India

asked on

How to add superscript and subscript in Textfield

Hi. I wanted to add subscript and superscript Word Like H20, H2So4.
but it is not possilbe with normal texfield. how it can be done in another way.
Avatar of himanshut
himanshut
Flag of Australia image

Water H<sub>2</sub>O will result in H2O

similarly Carbondioxide CO<sub>2</sub> = CO2
Avatar of Toraif
Toraif

If you are dealing with textfield, regularely it will take only plain text which does not support subscripts and superscripts.
If you deal with HTML Codes, you can use himanshut tag mentioned above.
 
Avatar of swarajya

ASKER

i m using it in admin panel means user can enter all this thing but it not supported. what else we can use for this
ASKER CERTIFIED SOLUTION
Avatar of rajapandian_81
rajapandian_81
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Freetext box worked for me.

Thanks
Welcome :-)