html中特殊字符的代码

html中特殊字符的代码

以下代码结尾都包含(;)因为富文本编辑器会直接将代码转换为字符,所以用加号隔开。

特殊字符 字符描述 字符代码
空格符 &nbsp + ;
< 小于号 &lt + ;
> 大于号 &gt + ;
& 和号 &amp + ;
人民币符 &yen + ;
© 版权符 &copy + ;
® 商标符 &reg + ;
° 温度符 &deg + ;
± 正负号 &plusmn + ;
× 乘号 &times + ;
÷ 除号 &divide+ ;
² 平方 &sup2 + ;
³ 立方 &sup3 + ;

猜你喜欢

转载自blog.csdn.net/weixin_42371354/article/details/106437671