HTML Entity for Lowercase O (o)

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

What You'll Learn

How to display the lowercase letter o in HTML using entity methods and direct character input. The letter o is the fifteenth letter of the Latin alphabet (U+006F) and is part of the Basic Latin block. It appears in everyday text, mathematical notation (e.g. variable o for origin or output), 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 &o; for this letter.

⚡ Quick Reference — Lowercase O Entity

Unicode U+006F

Basic Latin (ASCII)

Hex Code o

Hexadecimal reference

HTML Code o

Decimal reference

Direct Character o

Type directly (no named entity)

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

Complete HTML Example

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

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\006F";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x6f;</p>
<p>Symbol (decimal): &#111;</p>
<p>Symbol (direct): o</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try It Yourself

🌐 Browser Support

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

Large glypho
Body textThe letter o appears in words like open, hello, and code.
Math notationLet o be the origin point on the coordinate plane.
Alphabetm n o p q
Not the same asdigit 0 (U+0030)  |  uppercase O (U+004F)  |  Greek ο (omicron, U+03BF)
Numeric refs&#x6f; &#111; \006F

🧠 How It Works

1

Hexadecimal Code

&#x6f; uses the Unicode hexadecimal value 6F to display the letter. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

Direct Character

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

HTML markup
4

CSS Entity

\006F 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: o. Unicode U+006F sits in Basic Latin. The uppercase form is U+004F (O). In normal text, typing o is preferred over numeric entities.

Use Cases

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

📝 Body text

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

📚 Documentation

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

📐 Math notation

Variable names, subscripts, and notation where o represents origin, output, or ordinal position.

🌐 Internationalization

Words in English, Spanish, French, and many other Latin-script languages.

📄 Headings & titles

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

⚙ Programmatic HTML

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

🎨 CSS generated content

Using \006F in the CSS content property to insert o via pseudo-elements.

💡 Best Practices

Do

  • Type o directly in body content; use entities only when necessary
  • Serve pages as UTF-8 so Basic Latin characters render without entities
  • Use numeric references (&#x6f; or &#111;) when escaping is required
  • Use \006F in CSS content when generating the letter via pseudo-elements
  • Remember lowercase o is U+006F and uppercase O is U+004F when case matters

Don’t

  • Overuse numeric entities for o in normal readable text
  • Expect a named HTML entity like &o;—none exists for this letter
  • Confuse plain o (U+006F) with digit 0 (U+0030) or Greek omicron (U+03BF)
  • Double-encode numeric references in dynamically generated HTML
  • Put CSS escape \006F in HTML text nodes

Key Takeaways

1

Type o directly, or use hex/decimal references

&#x6f; &#111;
2

For CSS stylesheets, use the escape in the content property

\006F
3

Unicode U+006F — LATIN SMALL LETTER O

4

Fifteenth letter of the Latin alphabet (Basic Latin block)

❓ Frequently Asked Questions

Type o directly, or use &#x6f; (hex), &#111; (decimal), or \006F in CSS content. There is no named HTML entity for o. For most content, typing o is standard; use numeric or CSS entities when escaping or generating via CSS.
U+006F (LATIN SMALL LETTER O). Basic Latin block. Hex 6F, decimal 111. It is the fifteenth 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 o directly is usually sufficient.
No. There is no named HTML entity for the lowercase o. Use numeric codes &#111; or &#x6f;, or the CSS entity \006F. In UTF-8 pages you can type o directly.
HTML code (&#111; or &#x6f;) is used in HTML content; CSS entity \006F is used in stylesheets in the content property of pseudo-elements. Both produce the character o.

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