选中标记的 HTML 实体

是否有用于复选标记的 HTML 实体?

green checkmark

我在各种 HTML 实体的备忘单中搜索了它,但没有找到

117522 次浏览

Something like this?

if so, type the HTML ✔

And ✓ gives a lighter one:

There is HTML entity &#10003 but it doesn't work in some older browsers.

HTML and XML entities are just a way of referencing a Unicode code-point in a way that reliably works regardless of the encoding of the actual page, making them useful for using esoteric Unicode characters in a page using 7-bit ASCII or some other encoding scheme, ideally on a one-off basis. They're also used to escape the <, >, " and & characters as these are reserved in SGML.

Anyway, Unicode has a number of tick/check characters, as per Wikipedia ( http://en.wikipedia.org/wiki/Tick_(check_mark) ).

Ideally you should save/store your HTML in a Unicode format like UTF-8 or 16, thus obviating the need to use HTML entities to represent a Unicode character. Nonetheless use: &#x2714; ✔.

&#x2714;

Is using hex notation and is the same as

$#10004;

(as 2714 in base 16 is the same as 10004 in base 10)