HTML Entity for Uppercase Z (Z)

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
U+005ABasic Latin (ASCII)
ZHexadecimal reference
ZDecimal reference
ZType directly (no named entity)
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)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:
<!DOCTYPE html>
<html>
<head>
<style>
#letter:after{
content: "\005A";
}
</style>
</head>
<body>
<p>Symbol (hex): Z</p>
<p>Symbol (decimal): Z</p>
<p>Symbol (direct): Z</p>
<p id="letter">Symbol (CSS): </p>
</body>
</html>🌐 Browser Support
The uppercase letter Z (U+005A) is universally supported in all browsers and platforms as part of Basic Latin:
👀 Live Preview
See the uppercase letter Z in common text contexts:
🧠 How It Works
Hexadecimal Code
Z uses the Unicode hexadecimal value 5A to display the letter. The x prefix indicates hexadecimal format.
Decimal HTML Code
Z uses the decimal Unicode value 90 to display the same character. This is the ASCII/Unicode decimal for Z.
Direct Character
Type Z directly in HTML. There is no named entity like &Z;; the character itself is the standard approach in body text.
CSS Entity
\005A is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
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:
Sentence starts, proper nouns, and titles where the letter Z begins a word.
Tutorials, API docs, and code samples that show the character Z as an entity or escape.
Abbreviations such as ZIP, ZOOM, and Zulu where Z appears in the name.
Z-axis labels, 3D coordinate systems, and scientific notation in educational content.
Page titles, section headings, and navigation labels that start with Z.
When building HTML in code, using Z or Z ensures correct output regardless of encoding context.
Using \005A in the CSS content property to insert Z via pseudo-elements.
💡 Best Practices
Do
- Type
Zdirectly in body content; use entities only when necessary - Serve pages as UTF-8 so Basic Latin characters render without entities
- Use numeric references (
ZorZ) when escaping is required - Use
\005Ain CSScontentwhen 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
Zin normal readable text - Expect a named HTML entity like
&Z;—none exists for this letter - Use
\0005Ain CSS—the correct escape is\005A - Confuse plain
Z(U+005A) with Ź (Z acute, U+0179) in Polish text - Put CSS escape
\005Ain HTML text nodes
Key Takeaways
Type Z directly, or use hex/decimal references
Z ZFor CSS stylesheets, use the escape in the content property
\005AUnicode U+005A — LATIN CAPITAL LETTER Z
Twenty-sixth letter of the modern English/Latin alphabet (Basic Latin block)
Previous: Uppercase Yogh (Ȝ) Next: Uppercase Z Acute
❓ Frequently Asked Questions
Z directly, or use Z (hex), Z (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.Z or Z, or the CSS entity \005A. In UTF-8 pages you can type Z directly.Z or Z) 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.
8 people found this page helpful
