Codes guide · updated October 23, 2026
Cross Symbol HTML Code
Numeric entities, the four real named references for crosses, CSS escapes and JS strings.
There is no ✗ entity for the Latin cross. The name exists, but in HTML5 it maps to ✗, the ballot X. The Latin cross ✝ needs a numeric reference — decimal ✝ or hex ✝ — or the literal character in a UTF-8 document. This guide collects the codes that are real and flags the ones that are not.
Every code for the main crosses
The table lists the character, its official Unicode name, the HTML entity you can use, and whether an HTML5 named reference exists. Click any chip to copy the exact text.
| Symbol | Name | Named | Decimal | Hex |
|---|---|---|---|---|
| ✝ | Latin cross | None | ||
| ☦ | Orthodox cross | None | ||
| ✠ | Maltese cross | |||
| 🕈 | Celtic cross | None | ||
| ☨ | Cross of Lorraine | None | ||
| ☩ | Cross of Jerusalem | None | ||
| ☧ | Chi Rho | None | ||
| ☥ | Ankh | None | ||
| ✗ | Ballot X | |||
| × | Multiplication sign | |||
| ⨯ | Vector cross product |
The named entities that exist
HTML5 defines a huge named-character table. These are the main named references for crosses and cross-shaped marks; a few other math symbols also use X-like shapes:
✠(alias✠) → ✠ Maltese cross, U+2720.✗→ ✗ ballot X, U+2717. Not the Latin cross.×→ × multiplication sign, U+00D7.⨯→ ⨯ vector or cross product, U+2A2F. The capital C matters.†→ † dagger, U+2020. A cross-like typographic mark, not ✝.‡(alias‡) → ‡ double dagger, U+2021.
✠ (and ✠), ✗ and ⨯. Older HTML4 names such as ×, † and ‡ are more widely recognized. XML does not predefine any of them, so numeric references are the safest choice across HTML, XML and email.HTML examples
In an HTML5 document saved as UTF-8, the simplest markup is the literal character. Numeric references are useful when the file encoding is not guaranteed.
<p>Latin cross: ✝</p>
<p>Orthodox cross: ☦</p>
<p>Maltese cross: ✠</p>
<p>Cross mark: ✗</p>The decimal values are 10013 for U+271D and 9766 for U+2626. The hexadecimal forms are ✝ and ☦. Both are valid in HTML, XML and XHTML.
If you are already writing the character as text, you do not need an entity at all. The sequence ✝ and the literal ✝ produce the same character in the browser.
CSS escapes
CSS uses hexadecimal escapes, prefixed with a backslash. Here is a Latin cross as generated content:
.cross::before {
content: "\271D";
font-family: "Segoe UI Symbol", "Apple Symbols", sans-serif;
}For astral characters such as 🕈 (U+1F548), keep the escape hexadecimal: content: "\1F548";. CSS allows up to six hex digits. If the next character in the string is a hex digit, insert a space after the escape so the browser does not read it as part of the code.
CSS-generated content is decorative unless you take care with accessibility. A screen reader may not announce it, and it cannot be selected or copied as text. For a meaningful cross on a page, put the character in the HTML and style that element; use CSS only for ornament.
JavaScript strings
In modern JavaScript you can escape the code point directly:
const latinCross = "\u271D"; // ✝
const orthodoxCross = "\u2626"; // ☦
const celticCross = "\u{1F548}"; // 🕈 (ES2015+)For older environments that do not support code-point escapes, the Celtic cross can be written as a surrogate pair: "\uD83D\uDD48". The site’s own scripts target Chrome 81+, so the \u{...} form is safe in modern browsers but not in every legacy build pipeline.
Fonts, fallbacks and missing glyphs
An HTML reference tells the browser which character you mean; it does not guarantee a drawing. The font must contain the glyph. ✝ and ☦ are common in system symbol fonts, while 🕈, 🕆 and 🕇 are much less widely covered. A missing glyph usually appears as a hollow box or a blank.
On the web, declare a fallback stack that ends in a generic family, for example font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols 2", sans-serif;. If the exact shape is part of the design, use an SVG instead of a font character.
Related pages
For keyboard routes, read the cross typing guide. For the codes behind the characters, the full cross table lists every symbol with its Unicode and HTML. If you need a named reference for a specific cross, the decorative cross page covers the Maltese entity.
Reference: WHATWG HTML named character references; the Dingbats, Miscellaneous Symbols and Miscellaneous Symbols and Pictographs code charts.
Common questions
What is the HTML code for a Latin cross?
Use the decimal reference ✝ or the hexadecimal reference ✝. There is no named HTML5 entity for ✝. The literal character can also be pasted directly into a UTF-8 HTML file.
Is ✗ the Latin cross?
No. In HTML5, ✗ maps to ✗ (U+2717, BALLOT X), not to the Latin cross ✝ (U+271D). This is a common and costly mix-up. Use the numeric reference for the Latin cross.
What is ✠?
✠ (alias ✠) is an HTML5 named reference for ✠ (U+2720, MALTESE CROSS). It is one of the few Christian cross forms with a named HTML entity, but it is HTML5-only and not valid in XML.
Should I use an entity or the literal character?
In a UTF-8 HTML5 document, the literal character is clearer and smaller. Use numeric references when the file encoding is uncertain, when the content passes through an XML or email pipeline that may not preserve the character, or when a CMS strips it. Named entities are convenient but have limited coverage. The newer names such as ✠ and ✗ are HTML5-only; older HTML4 names such as × and † are more widely recognized but still not predefined in XML. Numeric references remain the safest portable choice.
Can I put a cross in CSS content?
Yes. Use content: "\271D"; for the Latin cross, or content: "\1F548"; for the Celtic cross. CSS escapes use hexadecimal, not decimal. If the next character is also a hex digit, add a space after the escape so it is not read as part of the code. Meaningful symbols should still exist in the HTML for assistive technology.
Read next
Alt codes
The honest answer about Alt codes, plus the routes that actually produce a cross.
TypingHow to type a cross
Every working route to ✝ ☦ ✠, on every platform, in one honest table.
ReferenceCross meaning
Which cross means what, and why context matters more than a single symbol.
Need the symbols themselves? The full cross table has all 31 with their codes, and Latin cross symbols gathers the classic Christian forms.