More
More
Capital I with Macron HTML entity Ī
Ī is the HTML entity for Capital I with Macron Ī (U+012A). Copy Ī, Ī and the CSS, JavaScript, Python and URL escapes.
- Entity
Ī- Code point
- U+012A
- Unicode name
- LATIN CAPITAL LETTER I 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: "\12A";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u012A"Also valid in JSON. | |
| Python | "\u012a"Python 3 string literal. | |
| Python by name | "\N{LATIN CAPITAL LETTER I WITH MACRON}"Readable alternative using the Unicode name. | |
| URL | %C4%AAPercent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | C4 AA2 bytes. | |
| UTF-16 | 012A1 code unit, which is what JavaScript length counts. |
When to use it
Ī writes U+012A (Capital I 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 I with OgonekĨCapital I with TildeįSmall i with OgonekħSmall h with StrokeİCapital I with Dot AboveĦCapital H with StrokeıSmall dotless IĥSmall h with Circumflex
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).