在 HTML 中,我可以用 ✓ 做一个复选标记。. 有对应的X-mark吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/712132/
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
In HTML I can make a checkmark with ✓ . Is there a corresponding X-mark?
提问by nc.
Is there a corresponding X mark to ✓ (✓
)? What is it?
✓ ( ✓
)是否有对应的 X 标记?它是什么?
回答by dommer
A corresponding cross for ✓ ✓
would be ✗ ✗
I think (Dingbats).
✓ 的相应交叉✓
将是 ✗✗
我认为(Dingbats)。
回答by Bruiser
✗
✗
✗
✘
✘
✘
✕
✕
✕
✖
✖
✖
回答by Don Kirkby
Personally, I like to use named entities when they are available, because they make my HTML more readable. Because of that, I like to use ✓
for ✓ and ✗
for ✗. If you're not sure whether a named entity exists for the character you want, try the &what search site. It includes the name for each entity, if there is one.
就我个人而言,我喜欢在命名实体可用时使用它们,因为它们使我的 HTML 更具可读性。因此,我喜欢使用✓
✓ 和✗
✗。如果您不确定您想要的角色是否存在命名实体,请尝试&what 搜索站点。它包括每个实体的名称(如果有的话)。
As mentioned in the comments, ✓
and ✗
are not supported in HTML4, so you may be better off using the more cryptic ✓
and ✗
if you want to target the most browsers. The most definitive references I could find were on the W3C site: HTML4and HTML5.
正如在评论中提到的,✓
并且✗
在HTML4中不支持,所以你可能会关闭使用更隐蔽更✓
和✗
,如果你想针对大多数浏览器。我能找到的最权威的参考资料是在 W3C 网站上:HTML4和HTML5。
回答by nickf
It's between the Z and the C on your keyboard.
它位于键盘上的 Z 和 C 之间。