Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML entity for check mark [duplicate]

Tags:

html

Is there an HTML entity for a check mark?

green checkmark

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

like image 347
Matteo Pagliazzi Avatar asked Nov 01 '12 19:11

Matteo Pagliazzi


3 Answers

Something like this?

if so, type the HTML ✔

And ✓ gives a lighter one:

like image 170
Darren Wainwright Avatar answered Oct 16 '22 07:10

Darren Wainwright


Here are a couple: http://www.amp-what.com/unicode/search/check%20mark

&#x2713 &#x2714

like image 43
ndp Avatar answered Oct 16 '22 08:10

ndp


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)

like image 9
Dai Avatar answered Oct 16 '22 06:10

Dai