Uppercase X (X) is the Basic Latin character at Unicode U+0058(LATIN CAPITAL LETTER X). You can type X directly in HTML, or write it with a numeric character reference when you need an explicit entity form.
Remember
Character X
Unicode U+0058
Hex entity X
Decimal X
CSS escape \0058
Named entity (none)
Official name LATIN CAPITAL LETTER X
All of these produce the same glyph: X. Related: Lowercase X (U+0078). For multiply, use × (×, U+00D7) — not the letter X.
Reference
Quick Reference
One table for every form you will actually use.
Form
Code
Where it goes
Direct character
X
HTML text (UTF-8) — preferred
Hex entity
X
HTML markup
Decimal entity
X
HTML markup
CSS escape
\0058
Stylesheet content
Named entity
—
Not defined in HTML5
When to Use Which
Situation
Use
Normal body text
Type X directly
Need an explicit entity
X or X
Generated text via ::before / ::after
content: "\0058"
Multiply / times symbol
Use × (×), not letter X
Looking for a named entity
None for U+0058 — use numeric form or type X
See it
Live Preview
Capital X in common text contexts.
Large glyphX
In a wordXML · HTTP · X-ray
ComparedX × x
Alphabet… V W X Y Z …
With entitiesHex: X | Decimal: X
Code
Complete HTML Example
One page that shows this letter with hex, decimal, direct character, and CSS. Use View Output or open the live editor.
Hex + Decimal + Direct + CSS
All common ways to produce X in a single document.
html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Uppercase X</title>
<style>
#point::after {
content: "\0058";
}
</style>
</head>
<body>
<p>Using Hex Code: X</p>
<p>Using HTML Code: X</p>
<p>Using Direct Character: X</p>
<p id="point">Using CSS Entity: </p>
<p>The letter X follows W in the alphabet.</p>
</body>
</html>
Using Hex Code: X
Using HTML Code: X
Using Direct Character: X
Using CSS Entity: X
The letter X follows W in the alphabet.
How It Works
1. Hex / decimal:U+0058 → X or X in HTML.
2. Direct: typing X in a UTF-8 file is the simplest and preferred approach.
3. CSS: use \0058 in content (not an HTML entity). The four-digit form avoids ambiguity with following hex digits.
4. Sentence: shows ordinary text use — no entity required for everyday letters.
Pitfalls & Tips
Common mistakes when working with this character.
Prefer
Type X in body text
ASCII letters do not need entities for normal reading. Prefer typing X directly.
Named?
No named entity
HTML5 does not define a named entity for U+0058. Use numeric forms when an entity is required.
Look-alikes
Not × or Greek chi
Ordinary X is U+0058. Use × (×) for multiply. Greek capital chi is U+03A7 (Χ) — a different script.
Case
Use the correct case
Lowercase is x (U+0078). Do not mix case when casing matters for identifiers or display.
CSS
Pad the CSS escape
Use \0058 (not bare \58) so a following digit is not absorbed into the escape.
Semicolon
End references
Always finish with ; — write X, not X.
Compatibility
Browser Support
Uppercase X / LATIN CAPITAL LETTER X (U+0058) and its numeric entity forms (X, X, CSS \\0058) are supported in all mainstream browsers as a core ASCII letter.
✓ Universal support
Uppercase X
Prefer typing X in UTF-8 HTML. Use hex, decimal, or CSS escape when you need an explicit form.
100%Browser coverage
Google ChromeSupported
Yes
Microsoft EdgeSupported
Yes
Mozilla FirefoxSupported
Yes
Apple SafariSupported
Yes
OperaSupported
Yes
Internet ExplorerAll versions
Yes
U+0058 / entitiesFull support
Bottom line: Prefer typing X in body text. Use X / X when you need an entity, and \\0058 only inside CSS content.
Remember
Key Takeaways
Unicode: this character is U+0058 (decimal 88) — LATIN CAPITAL LETTER X.
HTML: prefer typing X, or use X / X.
CSS: use \0058 inside content for generated text.
Watch out: no named entity; U+0058 ≠ U+00D7 (×) ≠ U+03A7 (Greek chi).
One line:U+0058 → type X / X / X / CSS \0058.
Frequently Asked Questions
Type X directly in UTF-8 HTML, or use X (hex), X (decimal), or the CSS escape \0058 in the content property. All render U+0058.
U+0058 (hex 58, decimal 88). Unicode names it LATIN CAPITAL LETTER X. It belongs to Basic Latin (ASCII) and is the twenty-fourth letter of the English alphabet.
No. ASCII letters like X do not have named HTML entities in HTML5. Use numeric references like X or X when you need an entity form.
For normal body text, type X directly. Use entities when generating content in CSS, when you want explicit encoding, or when escaping is required.
U+0058 is ordinary capital X. U+00D7 is the multiplication sign (×, ×). U+0078 is lowercase x. They are different characters.
HTML entities (X or X) go in markup. The CSS escape \0058 is used in stylesheets (usually in the content property of ::before/::after). Both render the same glyph.
🤔
Did you know?
Uppercase X is Unicode U+0058 (decimal 88) — official name LATIN CAPITAL LETTER X in Basic Latin (ASCII). HTML5 has no named entity for it — typing X directly is usually best. Do not confuse it with the multiplication sign × (×, U+00D7) or Greek capital chi Χ (U+03A7).