Codes guide · updated October 22, 2026
Check Mark HTML Code
Decimal entities, hex entities, CSS escapes and JS strings for every tick.
Copy the codes:
The three ways to write ✓ in HTML
A check mark can enter a web page as a literal character, a numeric entity or a named entity. They all produce the same glyph; they differ in how much survives a broken encoding.
| Form | Code | When to use it |
|---|---|---|
| Character | UTF-8 pages you control — the readable default | |
| Decimal entity | Everything: HTML, XHTML, XML, email, CMS fields | |
| Hex entity | The same as decimal, in the notation developers prefer | |
| Named entity | Short and readable — but HTML5 only |
✓ and ✓ both map to U+2713. They are not defined in HTML4 or XML, so a parser set to XHTML will reject them. When in doubt, use ✓.
Named entities that exist for this family
Most check mark characters have no name in HTML at all — but five do, and they are easy to forget:
| Symbol | Named entity | Decimal | Unicode name |
|---|---|---|---|
| ✓ | CHECK MARK | ||
| ✗ | BALLOT X | ||
| √ | SQUARE ROOT | ||
| × | MULTIPLICATION SIGN | ||
| ⨯ | VECTOR OR CROSS PRODUCT |
✔, ✅, ☑, ☒, ✘, ❌ and the rest have no named reference: use the numeric entity for those. The full table is below.
Code samples
Inline in HTML
<p>Order shipped <span style="color:#1B7048">✓</span> on time</p>
A text tick inherits the font and color of its parent, which is why a color on the wrapping span is enough to make it green, red or brand-colored.
Inside a table cell
<td class="done">✓</td>
In email HTML this is the most reliable approach: numeric entities survive every client, including the ones that mangle UTF-8.
In CSS
.step-done::before {
content: "\2713";
color: #1B7048;
margin-right: .4em;
}CSS escapes are hexadecimal and run for up to six digits. In \2713 shipped the escape ends at the 1 because s is not a hex digit; write \2713 a with a space, because without it the a would extend the escape to U+2713A.
In JavaScript
const tick = '\u2713'; // ✓ const cross = '\u2717'; // ✗
The four-digit \u2713 form works in every JavaScript engine. The newer \u{2713} form needs ES6 and above.
Every symbol with its HTML codes
| Symbol | Name | Decimal | Hex | Named |
|---|---|---|---|---|
| ✓ | Check mark | |||
| ✔ | Heavy check mark | — | ||
| ✅ | White heavy check mark | — | ||
| ☑ | Ballot box with check | — | ||
| ✗ | Ballot X | |||
| ❌ | Cross mark | — | ||
| √ | Square root | |||
| ✘ | Heavy ballot X | — | ||
| ✕ | Multiplication X | — | ||
| ✖ | Heavy multiplication X | — | ||
| ☒ | Ballot box with X | — | ||
| ☐ | Ballot box | — | ||
| × | Multiplication sign | |||
| ☓ | Saltire | — | ||
| ❎ | Negative squared cross mark | — | ||
| 🗹 | Ballot box with bold check | — | ||
| 🗸 | Light check mark | — | ||
| 🗵 | Ballot box with script X | — | ||
| 🗷 | Ballot box with bold script X | — | ||
| ⍻ | Not check mark | — | ||
| ╳ | Diagonal cross | — | ||
| ⨯ | Vector cross product | |||
| 🗴 | Ballot script X | — | ||
| 🗶 | Ballot bold script X | — |
Accessibility and semantics
A tick that carries meaning needs a text alternative. Screen readers announce the Unicode character by name — “check mark” — which is usually enough. If the tick is decorative, wrap it in aria-hidden="true"; if it replaces a word, give the element an accessible label:
<span role="img" aria-label="done">✓</span>
Do not use a tick as the only signal that something succeeded. Pair it with text or a shape difference, so the meaning survives grayscale printing and color-blind readers.
Common questions
What is the HTML code for a check mark?
Use ✓ (decimal) or ✓ (hex) for ✓. HTML5 also defines the named references ✓ and ✓, which both produce the same character. The named form is shorter but is not recognized by XML, XHTML or HTML4 parsers, so the numeric form is the safer choice.
Is there a ✓ HTML entity?
Yes — ✓ and its alias ✓ are HTML5 named character references for U+2713. They are not part of HTML4 and not defined in XML, so they fail in XHTML documents and in some email templating tools. Numeric entities work everywhere.
What is the CSS code for a check mark?
In a stylesheet, use content: "\2713"; — the backslash introduces a hexadecimal escape and 2713 is the code point. An escape runs for up to six hex digits, so if the next character is a hex digit (0–9 or a–f) add a space to end it: \2713 a, not \2713a.
Should I use an entity or paste the character?
Paste the character if your file is UTF-8 and you control the toolchain: it is readable in the source and one byte sequence instead of eight. Use numeric entities when the file encoding is uncertain, when the content passes through an older CMS or email system, or when you want the character to survive copy-paste into software that mangles non-ASCII text.
How do I write a check mark in JavaScript?
Use the escape sequence '\u2713' or simply paste the character into the string. The \u{2713} form requires an ES6-aware runtime, so the four-digit form is the compatible choice.
Read next
How to type a check mark
Every keyboard route to a tick, on every platform, in one table.
TypingAlt codes
The honest answer about Alt codes — plus three routes that do work.
TypingMac shortcuts
Option+V, the Character Viewer and a text-replacement trick.
Need the symbols themselves? The full check mark table has all 24 with their codes, and check mark symbols gathers the classic ticks.