More
More
Small o with Macron HTML entity ō
ō is the HTML entity for Small o with Macron ō (U+014D). Copy the decimal ō and hex ō codes plus CSS, JavaScript, Python and URL escapes.
- Entity
ō- Code point
- U+014D
- Unicode name
- LATIN SMALL LETTER O WITH MACRON
- Block
- Latin Extended-A
- Category
- Lowercase letter (Ll)
- Since
- Unicode 1.1
- Defined in
- HTML5
Codes to copy
| HTML named | ōWorks in HTML; in XML only & < > " ' are predefined. | |
|---|---|---|
| HTML decimal | ōWorks in HTML and XML. | |
| HTML hex | ōWorks in HTML and XML. | |
| CSS | content: "\14D";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u014D"Also valid in JSON. | |
| Python | "\u014d"Python 3 string literal. | |
| Python by name | "\N{LATIN SMALL LETTER O WITH MACRON}"Readable alternative using the Unicode name. | |
| URL | %C5%8DPercent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | C5 8D2 bytes. | |
| UTF-16 | 014D1 code unit, which is what JavaScript length counts. |
When to use it
ō writes U+014D (Small o with Macron), a small letter from the Unicode Latin Extended-A block, encoded since Unicode 1.1. On a page saved as UTF-8 the letter can simply be typed; the entity helps in ASCII-only templates and code samples.
The name comes from the HTML5 list (much of it shared with MathML), so it works in every current browser but not in XML or XHTML served as XML, where the numeric reference is the safe choice.
More latin letters with accents
őSmall o with Double AcuteŋSmall engŒCapital OE LigatureŊCapital ENGœSmall oe LigatureʼnSmall n Preceded by ApostropheŔCapital R with AcuteňSmall n with Caron
All latin letters with accents · Every HTML entity · Encode or decode text
Source: the WHATWG HTML Standard list of named character references and the Unicode Character Database (Unicode 18.0).