HTML Entity for Ballot X (✗)

Beginner
⏱️ 5 min read
📚 Updated: May 2026
🎯 1 Code Example
Unicode U+2717

What You'll Learn

How to display the ballot X (✗) — Unicode U+2717, ballot X — in HTML using the named reference ✗, numeric character references, and CSS escapes. It lives in the Dingbats block (U+2700–U+27BF) and is widely used for “wrong,” “no,” or rejection alongside quiz and form UI.

Do not confuse ✗ (U+2717) with (U+2612, ballot box with X): the latter is a box glyph; the ballot X is a standalone cross. You can write it as ✗, ✗, ✗, or \2717 in CSS content.

⚡ Quick Reference — Ballot X

Unicode U+2717

Dingbats block

Hex Code ✗

Hexadecimal reference

HTML Code ✗

Decimal reference

Named Entity ✗

Cross mark (readable)

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2717
Hex code       ✗
HTML code      ✗
Named entity   ✗
CSS code       \2717
1

Complete HTML Example

This example demonstrates the ballot X using hexadecimal code, decimal code, the named entity ✗, and a CSS content escape on a pseudo-element:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2717";
  }
 </style>
</head>
<body>
<p>Ballot X using Hexa Decimal: &#x2717;</p>
<p>Ballot X using HTML Code: &#10007;</p>
<p>Ballot X using HTML Entity: &cross;</p>
<p id="point">Ballot X using CSS Entity: </p>
</body>
</html>
Try It Yourself

🌐 Browser Support

The ballot X and &cross; are supported in all modern browsers:

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

See the ballot X (✗) and how it differs from the boxed X dingbat:

Quiz result Incorrect ✗   Correct ✓
Large glyph
Ballot X vs box X ✗ U+2717 ballot X   ☒ U+2612 box with X
Named entity word1✗word2
Note Multiplication uses × (U+00D7), not the ballot X.

🧠 How It Works

1

Hexadecimal Code

&#x2717; references code point U+2717 using hex digits 2717 after the #x prefix.

HTML markup
2

Decimal HTML Code

&#10007; is the decimal form (10007) for the same ballot X character.

HTML markup
3

Named Entity

&cross; is the HTML5 named character reference for U+2717 and is often the clearest choice in authored markup.

HTML markup
4

CSS Entity

\2717 is the CSS escape for U+2717, used in the content property of ::before or ::after.

CSS stylesheet
=

Same visual result

All four methods produce the ballot X: . It is not the same code point as ☒ (U+2612).

Use Cases

The ballot X (✗) is commonly used for:

🗳 Voting & polls

No / against / rejected choices in static or illustrative results.

❓ Quizzes

Wrong-answer markers next to correct ✓ ticks.

📋 Checklists

Items that failed validation or were declined.

🖥 Buttons & labels

Compact “remove” or “incorrect” affordances when paired with text.

📖 Docs

Feature matrices (“not supported”) and exclusion lists.

🌐 i18n UI

A single Unicode cross that renders without loading icon fonts.

♿ Accessibility

Always add visible text or aria-label (“Incorrect,” “No”) so the mark is not the only cue.

💡 Best Practices

Do

  • Prefer &cross; in hand-authored HTML for readability
  • Pair ✗ with ✓ (U+2713, check) for symmetric right/wrong rows
  • State explicitly when you mean ballot X (U+2612 box) vs bare cross (U+2717)
  • Use \2717 only inside CSS, not pasted into HTML text
  • Keep one numeric style (hex or decimal) per document when not using &cross;

Don’t

  • Use ✗ as the only signal for form validation errors (add text and role="alert" where needed)
  • Confuse ✗ with multiplication &times; or heavy multiplication &Cross; (different entity)
  • Assume every font draws U+2717 with identical stroke weight
  • Mix ✗ and ☒ interchangeably without telling readers the semantic difference
  • Rely on color alone (e.g. red ✗) without textual meaning

Key Takeaways

1

Four references all render U+2717

&#x2717; &#10007; &cross;
2

In CSS content, use the escape

\2717
3

U+2717 is the ballot X dingbat; U+2612 is ballot box with X

4

Pair with check (✓) or explanatory copy for quiz and survey layouts

5

Expose errors to assistive tech with words—glyphs decorate, they should not replace semantics

❓ Frequently Asked Questions

Use &cross; (named), &#x2717; (hex), &#10007; (decimal), or \2717 in CSS content. All valid methods render ✗.
U+2717 (hex 2717, decimal 10007). It is in the Dingbats block and is not the same as ☒ (U+2612).
For static wrong/no/rejected indicators, quiz feedback, and illustrative voting copy—alongside visible labels or real validation messages.
Character references and &cross; belong in HTML. The \2717 escape belongs in stylesheets (for example on pseudo-elements). Do not paste CSS escapes into HTML text nodes.
Yes: &cross; maps to U+2717. Hex and decimal numeric references are equivalent alternatives.

Explore More HTML Entities!

Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, and more.

All HTML Entities →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful