HTML Entity for Lowercase O (o)

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
U+006FBasic Latin (ASCII)
oHexadecimal reference
oDecimal reference
oType directly (no named entity)
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)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:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\006F";
}
</style>
</head>
<body>
<p>Symbol (hex): o</p>
<p>Symbol (decimal): o</p>
<p>Symbol (direct): o</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>🌐 Browser Support
The lowercase letter o (U+006F) is universally supported in all browsers and platforms as part of Basic Latin:
👀 Live Preview
See the lowercase letter o in common text contexts:
🧠 How It Works
Hexadecimal Code
o uses the Unicode hexadecimal value 6F to display the letter. The x prefix indicates hexadecimal format.
Decimal HTML Code
o uses the decimal Unicode value 111 to display the same character. This is the ASCII/Unicode decimal for o.
Direct Character
Type o directly in HTML. There is no named entity like &o;; the character itself is the standard approach in body text.
CSS Entity
\006F 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: 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:
Standard character in paragraphs, articles, and any Latin-script text. Usually typed directly.
Tutorials, API docs, and code samples that show the character o as an entity or escape.
Variable names, subscripts, and notation where o represents origin, output, or ordinal position.
Words in English, Spanish, French, and many other Latin-script languages.
Headings and page titles where the letter o appears in text content.
When building HTML in code, using o or o ensures correct output regardless of encoding context.
Using \006F in the CSS content property to insert o via pseudo-elements.
💡 Best Practices
Do
- Type
odirectly in body content; use entities only when necessary - Serve pages as UTF-8 so Basic Latin characters render without entities
- Use numeric references (
ooro) when escaping is required - Use
\006Fin CSScontentwhen 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
oin normal readable text - Expect a named HTML entity like
&o;—none exists for this letter - Confuse plain
o(U+006F) with digit0(U+0030) or Greek omicron (U+03BF) - Double-encode numeric references in dynamically generated HTML
- Put CSS escape
\006Fin HTML text nodes
Key Takeaways
Type o directly, or use hex/decimal references
o oFor CSS stylesheets, use the escape in the content property
\006FUnicode U+006F — LATIN SMALL LETTER O
Fifteenth letter of the Latin alphabet (Basic Latin block)
Previous: Lowercase N Tilde (ñ) Next: Lowercase O Above Dot Macron
❓ Frequently Asked Questions
o directly, or use o (hex), o (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.o or o, or the CSS entity \006F. In UTF-8 pages you can type o directly.o or o) 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.
8 people found this page helpful
