More
More
Capital U with Macron HTML entity Ū
Ū is the HTML entity for Capital U with Macron Ū (U+016A). Copy Ū, Ū and the CSS, JavaScript, Python and URL escapes.
- Entity
Ū- Code point
- U+016A
- Unicode name
- LATIN CAPITAL LETTER U WITH MACRON
- Block
- Latin Extended-A
- Category
- Uppercase letter (Lu)
- 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: "\16A";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u016A"Also valid in JSON. | |
| Python | "\u016a"Python 3 string literal. | |
| Python by name | "\N{LATIN CAPITAL LETTER U WITH MACRON}"Readable alternative using the Unicode name. | |
| URL | %C5%AAPercent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | C5 AA2 bytes. | |
| UTF-16 | 016A1 code unit, which is what JavaScript length counts. |
When to use it
Ū writes U+016A (Capital U with Macron), a capital 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
ŬCapital U with BreveŨCapital U with TildeŭSmall u with BreveŧSmall t with StrokeŮCapital U with Ring AboveŦCapital T with StrokeůSmall u with Ring AboveťSmall t 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).