How to write fraction value using html?

I want to write fraction value such as the picture below:

enter image description here

How do I write fraction value using html without using image?

NOTE: I don’t want this 1 1/2 pattern but strictly just as the pic above

Answer

Try the following:

1<sup>1</sup>&frasl;<sub>2</sub>

This displays as:

112

Leave a Reply

Your email address will not be published. Required fields are marked *