Html 如何在html中引入乘法和除法符号?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4460095/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to bring multiplication and division symbol in html?
提问by Mohan Ram
I need to bring multiplication and division symbol in html codes.How to do that
我需要在 html 代码中引入乘法和除法符号。如何做到这一点
回答by Jonny Buchanan
回答by James Wiseman
Do you mean * and / or ÷ and × ? The codes for the latter are:
你的意思是 * 和/或 ÷ 和 × ?后者的代码是:
÷ or ÷
× or ×
回答by Bojangles
The extended ASCII code for the divide symbol is 247
; try putting it into your page like this: ÷
. As for the multiply symbol, just use the x
character.
除法符号的扩展 ASCII 码是247
; 尝试把它变成你的网页是这样的:÷
。至于乘法符号,只需使用x
字符即可。
James
詹姆士
回答by Garry
Try doing this:
尝试这样做:
<div id="multiply">× or ×</div>
<div id="divide">÷ or ÷</div>
Result:
结果:
× 或 × ÷ 或 ÷