HTML Entity for Uppercase Z (Z)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+005A

What You'll Learn

How to display the uppercase letter Z in HTML using entity methods and direct character input. The letter Z is the twenty-sixth and final letter of the modern English/Latin alphabet (U+005A) and is part of the Basic Latin block. It appears in acronyms (ZIP, ZOOM), coordinates (Z-axis), proper nouns, headings, and any text that requires capitalization. In most cases you can type it directly; numeric or CSS entities are useful when escaping, generating content via CSS, or ensuring correct encoding.

This character can be displayed using the character itself, a hexadecimal reference, a decimal reference, or a CSS escape in the content property. There is no named HTML entity like &Z; for this letter.

⚡ Quick Reference — Uppercase Z Entity

Unicode U+005A

Basic Latin (ASCII)

Hex Code Z

Hexadecimal reference

HTML Code Z

Decimal reference

Direct Character Z

Type directly (no named entity)

Reference Table
Name           Value
────────────   ──────────
Unicode        U+005A
Hex code       Z
HTML code      Z
Named entity   (none — use Z directly)
CSS code       \005A
Meaning        Latin capital letter Z
Related        U+007A = z (lowercase)
Block          Basic Latin (U+0000–U+007F)
1

Complete HTML Example

A simple example showing the uppercase letter Z using hexadecimal code, decimal HTML code, the character directly, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #letter:after{
   content: "\005A";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x5A;</p>
<p>Symbol (decimal): &#90;</p>
<p>Symbol (direct): Z</p>
<p id="letter">Symbol (CSS): </p>
</body>
</html>
Try It Yourself

🌐 Browser Support

The uppercase letter Z (U+005A) is universally supported in all browsers and platforms as part of Basic Latin:

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See the uppercase letter Z in common text contexts:

Large glyphZ
Body textThe letter Z appears in words like Zero, Zone, and Zebra.
AcronymsZIP, ZOOM, and Zulu all include the letter Z.
AlphabetX Y Z
Not the same asz (lowercase, U+007A)  |  Ź (Z acute, Polish)
Numeric refs&#x5A; &#90; \005A

🧠 How It Works

1

Hexadecimal Code

&#x5A; uses the Unicode hexadecimal value 5A to display the letter. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#90; uses the decimal Unicode value 90 to display the same character. This is the ASCII/Unicode decimal for Z.

HTML markup
3

Direct Character

Type Z directly in HTML. There is no named entity like &Z;; the character itself is the standard approach in body text.

HTML markup
4

CSS Entity

\005A is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All methods produce the glyph: Z. Unicode U+005A sits in Basic Latin. The lowercase form is U+007A (z). In normal text, typing Z is preferred over numeric entities.

Use Cases

The uppercase letter Z (or its entity forms) is commonly used in:

📝 Capitalization

Sentence starts, proper nouns, and titles where the letter Z begins a word.

📚 Documentation

Tutorials, API docs, and code samples that show the character Z as an entity or escape.

📐 Acronyms

Abbreviations such as ZIP, ZOOM, and Zulu where Z appears in the name.

📐 Math & coordinates

Z-axis labels, 3D coordinate systems, and scientific notation in educational content.

📄 Headings & titles

Page titles, section headings, and navigation labels that start with Z.

⚙ Programmatic HTML

When building HTML in code, using &#90; or &#x5A; ensures correct output regardless of encoding context.

🎨 CSS generated content

Using \005A in the CSS content property to insert Z via pseudo-elements.

💡 Best Practices

Do

  • Type Z directly in body content; use entities only when necessary
  • Serve pages as UTF-8 so Basic Latin characters render without entities
  • Use numeric references (&#x5A; or &#90;) when escaping is required
  • Use \005A in CSS content when generating the letter via pseudo-elements
  • Remember uppercase Z is U+005A and lowercase z is U+007A when case matters

Don’t

  • Overuse numeric entities for Z in normal readable text
  • Expect a named HTML entity like &Z;—none exists for this letter
  • Use \0005A in CSS—the correct escape is \005A
  • Confuse plain Z (U+005A) with Ź (Z acute, U+0179) in Polish text
  • Put CSS escape \005A in HTML text nodes

Key Takeaways

1

Type Z directly, or use hex/decimal references

&#x5A; &#90;
2

For CSS stylesheets, use the escape in the content property

\005A
3

Unicode U+005A — LATIN CAPITAL LETTER Z

4

Twenty-sixth letter of the modern English/Latin alphabet (Basic Latin block)

❓ Frequently Asked Questions

Type Z directly, or use &#x5A; (hex), &#90; (decimal), or \005A in CSS content. There is no named HTML entity for Z. For most content, typing Z is standard; use numeric or CSS entities when escaping or generating via CSS.
U+005A (LATIN CAPITAL LETTER Z). Basic Latin block. Hex 5A, decimal 90. It is the twenty-sixth and final letter of the modern English/Latin alphabet and a standard character in virtually all Western scripts.
When you need to escape or reference the character explicitly, in programmatic HTML generation, documentation showing the character, or systems that expect character references. In normal UTF-8 text, typing Z directly is usually sufficient.
No. There is no named HTML entity for the uppercase Z. Use numeric codes &#90; or &#x5A;, or the CSS entity \005A. In UTF-8 pages you can type Z directly.
HTML code (&#90; or &#x5A;) is used in HTML content; CSS entity \005A is used in stylesheets in the content property of pseudo-elements. Both produce the character Z.

Explore More HTML Entities!

Discover 1500+ HTML character references — letters, symbols, 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