如何用html写分数值? [英] How to write fraction value using html?

查看:87
本文介绍了如何用html写分数值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想写下如下图所示的分数值:

如何在不使用图片的情况下使用html编写分数值?



注意:我不想要这个1 1/2模式,但严格按照上面的图片

解决方案

试试以下内容:

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

显示为:

1 < sup> 1 ⁄ 2


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

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

解决方案

Try the following:

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

This displays as:

112

这篇关于如何用html写分数值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆