More
More
Small u with Macron HTML entity ū
ū is the HTML entity for Small u with Macron ū (U+016B). Copy the decimal ū and hex ū codes plus CSS, JavaScript, Python and URL escapes.
- Entity
ū- Code point
- U+016B
- Unicode name
- LATIN SMALL LETTER U 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: "\16B";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u016B"Also valid in JSON. | |
| Python | "\u016b"Python 3 string literal. | |
| Python by name | "\N{LATIN SMALL LETTER U WITH MACRON}"Readable alternative using the Unicode name. | |
| URL | %C5%ABPercent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | C5 AB2 bytes. | |
| UTF-16 | 016B1 code unit, which is what JavaScript length counts. |
When to use it
ū writes U+016B (Small u 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 u with BreveũSmall u with TildeŮCapital U with Ring AboveŨCapital U with TildeůSmall u with Ring AboveŧSmall t with StrokeŰCapital U with Double AcuteŦCapital T with Stroke
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).