93
votes

Possible Duplicate:
Tick symbol in HTML/XHTML

Is there an HTML entity for a check mark?

enter image description here

I've searched for it in various html entities cheat sheets but didn't find it

4
CSS escaped code: \2713vsync

4 Answers

208
votes

Something like this?

if so, type the HTML ✔

And ✓ gives a lighter one:

22
votes
9
votes

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)

0
votes

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