HTML Entity for Lowercase W (w)

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

What You'll Learn

How to display the lowercase letter w in HTML using entity methods and direct character input. The letter w is the twenty-third letter of the Latin alphabet (U+0077) and is part of the Basic Latin block. It appears in everyday text, Welsh orthography (where w can function as a vowel), mathematical notation (e.g. variable w for width or weight), documentation, and academic content. 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 — Lowercase W Entity

Unicode U+0077

Basic Latin (ASCII)

Hex Code w

Hexadecimal reference

HTML Code w

Decimal reference

Direct Character w

Type directly (no named entity)

Reference Table
Name           Value
────────────   ──────────
Unicode        U+0077
Hex code       w
HTML code      w
Named entity   (none — use w directly)
CSS code       \0077
Meaning        Latin small letter w
Related        U+0057 = W (uppercase)
Block          Basic Latin (U+0000–U+007F)
1

Complete HTML Example

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

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\0077";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x77;</p>
<p>Symbol (decimal): &#119;</p>
<p>Symbol (direct): w</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try It Yourself

🌐 Browser Support

The lowercase letter w (U+0077) 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 lowercase letter w in common text contexts:

Large glyphw
Body textThe letter w appears in words like water, word, world, and welcome.
Welsh vowelIn Welsh, w can represent a vowel sound (e.g. cwm, crwth).
Alphabetu v w x
Not the same asuppercase W (U+0057)  |  ŵ (w circumflex)  |  ʍ (w with hook)
Numeric refs&#x77; &#119; \0077

🧠 How It Works

1

Hexadecimal Code

&#x77; uses the Unicode hexadecimal value 77 to display the letter. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

Direct Character

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

HTML markup
4

CSS Entity

\0077 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: w. Unicode U+0077 sits in Basic Latin. The uppercase form is U+0057 (W). In normal text, typing w is preferred over numeric entities.

Use Cases

The lowercase letter w (or its entity forms) is commonly used in:

📝 Body text

Standard character in paragraphs, articles, and any Latin-script text. Usually typed directly.

🌍 Welsh & multilingual

Welsh orthography where w acts as a vowel; also common in English, German, Dutch, and other Latin-script languages.

📚 Documentation

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

📐 Math & science

Variable names where w represents width, weight, or angular frequency in equations.

📄 Headings & titles

Headings and page titles where the letter w appears in text content.

⚙ Programmatic HTML

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

🎨 CSS generated content

Using \0077 in the CSS content property to insert w via pseudo-elements.

💡 Best Practices

Do

  • Type w directly in body content; use entities only when necessary
  • Serve pages as UTF-8 so Basic Latin characters render without entities
  • Use numeric references (&#x77; or &#119;) when escaping is required
  • Use \0077 in CSS content when generating the letter via pseudo-elements
  • Remember lowercase w is U+0077 and uppercase W is U+0057 when case matters

Don’t

  • Overuse numeric entities for w in normal readable text
  • Expect a named HTML entity like &w;—none exists for this letter
  • Confuse plain w (U+0077) with ŵ (w circumflex) or ʍ (w with hook)
  • Use U+00077 or CSS \00077—the correct code is U+0077 and \0077
  • Put CSS escape \0077 in HTML text nodes

Key Takeaways

1

Type w directly, or use hex/decimal references

&#x77; &#119;
2

For CSS stylesheets, use the escape in the content property

\0077
3

Unicode U+0077 — LATIN SMALL LETTER W

4

Twenty-third letter of the Latin alphabet (Basic Latin block)

❓ Frequently Asked Questions

Type w directly, or use &#x77; (hex), &#119; (decimal), or \0077 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+0077 (LATIN SMALL LETTER W). Basic Latin block. Hex 77, decimal 119. It is the twenty-third letter of the 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 w directly is usually sufficient.
No. There is no named HTML entity for the lowercase w. Use numeric codes &#119; or &#x77;, or the CSS entity \0077. In UTF-8 pages you can type w directly.
HTML code (&#119; or &#x77;) is used in HTML content; CSS entity \0077 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.

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