HTML Entity for Uppercase X (X)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+0058

What Is the Uppercase X Entity?

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.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct characterXHTML text (UTF-8) — preferred
Hex entityXHTML markup
Decimal entityXHTML markup
CSS escape\0058Stylesheet content
Named entity—Not defined in HTML5

When to Use Which

SituationUse
Normal body textType X directly
Need an explicit entityX or X
Generated text via ::before / ::aftercontent: "\0058"
Multiply / times symbolUse × (×), not letter X
Looking for a named entityNone for U+0058 — use numeric form or type X

Live Preview

Capital X in common text contexts.

Large glyph X
In a word XML · HTTP · X-ray
Compared X × x
Alphabet … V W X Y Z …
With entities Hex: X | Decimal: X

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: &#x58;</p>
  <p>Using HTML Code: &#88;</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>
Try It Yourself

How It Works

1. Hex / decimal: U+0058 → &#x58; or &#88; 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 &times; (×) 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 &#88;, not &#88.

Browser Support

Uppercase X / LATIN CAPITAL LETTER X (U+0058) and its numeric entity forms (&#x58;, &#88;, 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 Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+0058 / entities Full support

Bottom line: Prefer typing X in body text. Use &#x58; / &#88; when you need an entity, and \\0058 only inside CSS content.

Key Takeaways

  • Unicode: this character is U+0058 (decimal 88) — LATIN CAPITAL LETTER X.
  • HTML: prefer typing X, or use &#x58; / &#88;.
  • CSS: use \0058 inside content for generated text.
  • Watch out: no named entity; U+0058 ≠ U+00D7 (&times;) ≠ U+03A7 (Greek chi).

One line: U+0058 → type X / &#x58; / &#88; / CSS \0058.

Frequently Asked Questions

Type X directly in UTF-8 HTML, or use &#x58; (hex), &#88; (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 &#88; or &#x58; 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 (×, &times;). U+0078 is lowercase x. They are different characters.
HTML entities (&#88; or &#x58;) 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 × (&times;, U+00D7) or Greek capital chi Χ (U+03A7).

Next: Uppercase Y

Learn the HTML entity for uppercase Y (U+0059).

Continue tutorial →

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