HTML Entity for Uppercase W (W)

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