HTML Entity for Uppercase Y (Y)

What You'll Learn
How to display the uppercase letter Y in HTML using entity methods and direct character input. The letter Y is the twenty-fifth letter of the modern English/Latin alphabet (U+0059) and is part of the Basic Latin block. It appears in acronyms (YAML, YTD), coordinates (Y-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 &Y; for this letter.
⚡ Quick Reference — Uppercase Y Entity
U+0059Basic Latin (ASCII)
YHexadecimal reference
YDecimal reference
YType directly (no named entity)
Name Value
──────────── ──────────
Unicode U+0059
Hex code Y
HTML code Y
Named entity (none — use Y directly)
CSS code \0059
Meaning Latin capital letter Y
Related U+0079 = y (lowercase)
Block Basic Latin (U+0000–U+007F)Complete HTML Example
A simple example showing the uppercase letter Y using hexadecimal code, decimal HTML code, the character directly, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#letter:after{
content: "\0059";
}
</style>
</head>
<body>
<p>Symbol (hex): Y</p>
<p>Symbol (decimal): Y</p>
<p>Symbol (direct): Y</p>
<p id="letter">Symbol (CSS): </p>
</body>
</html>🌐 Browser Support
The uppercase letter Y (U+0059) is universally supported in all browsers and platforms as part of Basic Latin:
👀 Live Preview
See the uppercase letter Y in common text contexts:
🧠 How It Works
Hexadecimal Code
Y uses the Unicode hexadecimal value 59 to display the letter. The x prefix indicates hexadecimal format.
Decimal HTML Code
Y uses the decimal Unicode value 89 to display the same character. This is the ASCII/Unicode decimal for Y.
Direct Character
Type Y directly in HTML. There is no named entity like &Y;; the character itself is the standard approach in body text.
CSS Entity
\0059 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: Y. Unicode U+0059 sits in Basic Latin. The lowercase form is U+0079 (y). In normal text, typing Y is preferred over numeric entities.
Use Cases
The uppercase letter Y (or its entity forms) is commonly used in:
Sentence starts, proper nouns, and titles where the letter Y begins a word.
Tutorials, API docs, and code samples that show the character Y as an entity or escape.
Abbreviations such as YAML, YTD, and YouTube where Y appears in the name.
Y-axis labels, coordinate systems, and scientific notation in educational content.
Page titles, section headings, and navigation labels that start with Y.
When building HTML in code, using Y or Y ensures correct output regardless of encoding context.
Using \0059 in the CSS content property to insert Y via pseudo-elements.
💡 Best Practices
Do
- Type
Ydirectly in body content; use entities only when necessary - Serve pages as UTF-8 so Basic Latin characters render without entities
- Use numeric references (
YorY) when escaping is required - Use
\0059in CSScontentwhen generating the letter via pseudo-elements - Remember uppercase Y is U+0059 and lowercase y is U+0079 when case matters
Don’t
- Overuse numeric entities for
Yin normal readable text - Expect a named HTML entity like
&Y;—none exists for this letter - Use
\00059in CSS—the correct escape is\0059 - Confuse plain
Y(U+0059) with Ý (Y acute, U+00DD) in Icelandic or Faroese text - Put CSS escape
\0059in HTML text nodes
Key Takeaways
Type Y directly, or use hex/decimal references
Y YFor CSS stylesheets, use the escape in the content property
\0059Unicode U+0059 — LATIN CAPITAL LETTER Y
Twenty-fifth letter of the modern English/Latin alphabet (Basic Latin block)
Previous: Uppercase X (X) Next: Uppercase Y Acute (Ý)
❓ Frequently Asked Questions
Y directly, or use Y (hex), Y (decimal), or \0059 in CSS content. There is no named HTML entity for Y. For most content, typing Y is standard; use numeric or CSS entities when escaping or generating via CSS.U+0059 (LATIN CAPITAL LETTER Y). Basic Latin block. Hex 59, decimal 89. It is the twenty-fifth letter of the modern English/Latin alphabet and a standard character in virtually all Western scripts.Y or Y, or the CSS entity \0059. In UTF-8 pages you can type Y directly.Y or Y) is used in HTML content; CSS entity \0059 is used in stylesheets in the content property of pseudo-elements. Both produce the character Y.Explore More HTML Entities!
Discover 1500+ HTML character references — letters, symbols, and more.
8 people found this page helpful
