Can somebody please help me, I want to put the "OK" symbol throw HTML not as image, by saying "OK" symbol I mean this symbol (http://awesomescreenshot.com/0272k1125) Can somebody help me and tell me what code is this in html please ?
有人可以帮助我,我想把“OK”符号抛出HTML而不是图像,通过说“OK”符号我的意思是这个符号(http://awesomescreenshot.com/0272k1125)有人可以帮助我并告诉我是什么代码是这个在html中吗?
Thanks
4 个解决方案
#1
31
There is a Unicode character that looks like a check mark: ✓
有一个Unicode字符看起来像一个复选标记:✓
To use it in HTML, you'll probably want to escape it. The code looks like this:
要在HTML中使用它,您可能想要逃避它。代码如下所示:
✓ <!-- in decimal -->
✓ <!-- in hex -->
There is also a "heavier" (bold) version of this same symbol: ✔
还有一个相同符号的“较重”(粗体)版本:✔
Again, the escapes are:
再次,逃脱是:
✔ <!-- in decimal -->
✔ <!-- in hex -->
But definitely pay attention to the concerns expressed by the other answers regarding the inclusion of this character with the font(s) you're intending to use, and the possibility that the character may not display correctly on client machines.
但是请务必注意其他答案所表达的关注,包括将此字符包含在您打算使用的字体中,以及该字符可能无法在客户端计算机上正确显示的可能性。
#2
6
As I understand, you want to put the Unicode CHECK MARK (U+2713) symbol on your page. However, I'm not fully sure that this character is implemented in most fonts, so it is possible that the character will not appear on some client browsers.
据我所知,您想在页面上放置Unicode CHECK MARK(U + 2713)符号。但是,我不完全确定这个字符是在大多数字体中实现的,因此该字符可能不会出现在某些客户端浏览器上。
#3
4
If you want to use the CHECK MARK character, it’s U+2713. The way to enter it depends on your authoring environment; the character reference ⅳ
can be used instead, but it reduces source legibility.
如果你想使用CHECK MARK字符,那就是U + 2713。输入它的方式取决于您的创作环境;字符参考ⅳ可以使用,但它会降低源的易读性。
The CHECK MARK character is present in many fonts, but not all. Its font support does not include any font that is available in Windows PCs, unless Microsoft Office has been installed. In addition to this primary concern, some browsers may fail to display the character even if it is available in some font; using CSS you can increase the odds.
CHECK MARK字符存在于许多字体中,但不是全部。除非安装了Microsoft Office,否则其字体支持不包括Windows PC中可用的任何字体。除了这个主要问题之外,某些浏览器即使以某种字体可用,也可能无法显示该字符;使用CSS你可以增加几率。
The two-letter abbreviation “OK” works much more reliably. Though originally an English abbreviation of obscure origin, it is widely recognized. The CHECK MARK is more questionable, even though people usually know it from web page forms where it appears in checked checkboxes. But it’s not really universal; when I was at school, a symbol like CHECK MARK indicated an error, not acceptance.
两个字母的缩写“OK”工作得更加可靠。虽然最初是英文缩写,但它被广泛认可。 CHECK MARK更值得怀疑,即使人们通常从网页表单中知道它,它出现在复选框中。但它并不是普遍的;当我在学校时,像CHECK MARK这样的符号表示错误,而不是接受。
#4
1
Easy to find any character you are looking for:
很容易找到您正在寻找的任何角色:
http://www.unicodeblocks.com/search/check
or
http://www.unicodeblocks.com/block/Dingbats - much more to find.
http://www.unicodeblocks.com/block/Dingbats - 还有更多要找的东西。
You can also find HTML code in there...
你也可以在那里找到HTML代码......
#1
31
There is a Unicode character that looks like a check mark: ✓
有一个Unicode字符看起来像一个复选标记:✓
To use it in HTML, you'll probably want to escape it. The code looks like this:
要在HTML中使用它,您可能想要逃避它。代码如下所示:
✓ <!-- in decimal -->
✓ <!-- in hex -->
There is also a "heavier" (bold) version of this same symbol: ✔
还有一个相同符号的“较重”(粗体)版本:✔
Again, the escapes are:
再次,逃脱是:
✔ <!-- in decimal -->
✔ <!-- in hex -->
But definitely pay attention to the concerns expressed by the other answers regarding the inclusion of this character with the font(s) you're intending to use, and the possibility that the character may not display correctly on client machines.
但是请务必注意其他答案所表达的关注,包括将此字符包含在您打算使用的字体中,以及该字符可能无法在客户端计算机上正确显示的可能性。
#2
6
As I understand, you want to put the Unicode CHECK MARK (U+2713) symbol on your page. However, I'm not fully sure that this character is implemented in most fonts, so it is possible that the character will not appear on some client browsers.
据我所知,您想在页面上放置Unicode CHECK MARK(U + 2713)符号。但是,我不完全确定这个字符是在大多数字体中实现的,因此该字符可能不会出现在某些客户端浏览器上。
#3
4
If you want to use the CHECK MARK character, it’s U+2713. The way to enter it depends on your authoring environment; the character reference ⅳ
can be used instead, but it reduces source legibility.
如果你想使用CHECK MARK字符,那就是U + 2713。输入它的方式取决于您的创作环境;字符参考ⅳ可以使用,但它会降低源的易读性。
The CHECK MARK character is present in many fonts, but not all. Its font support does not include any font that is available in Windows PCs, unless Microsoft Office has been installed. In addition to this primary concern, some browsers may fail to display the character even if it is available in some font; using CSS you can increase the odds.
CHECK MARK字符存在于许多字体中,但不是全部。除非安装了Microsoft Office,否则其字体支持不包括Windows PC中可用的任何字体。除了这个主要问题之外,某些浏览器即使以某种字体可用,也可能无法显示该字符;使用CSS你可以增加几率。
The two-letter abbreviation “OK” works much more reliably. Though originally an English abbreviation of obscure origin, it is widely recognized. The CHECK MARK is more questionable, even though people usually know it from web page forms where it appears in checked checkboxes. But it’s not really universal; when I was at school, a symbol like CHECK MARK indicated an error, not acceptance.
两个字母的缩写“OK”工作得更加可靠。虽然最初是英文缩写,但它被广泛认可。 CHECK MARK更值得怀疑,即使人们通常从网页表单中知道它,它出现在复选框中。但它并不是普遍的;当我在学校时,像CHECK MARK这样的符号表示错误,而不是接受。
#4
1
Easy to find any character you are looking for:
很容易找到您正在寻找的任何角色:
http://www.unicodeblocks.com/search/check
or
http://www.unicodeblocks.com/block/Dingbats - much more to find.
http://www.unicodeblocks.com/block/Dingbats - 还有更多要找的东西。
You can also find HTML code in there...
你也可以在那里找到HTML代码......