HTML Entity for Uppercase I Macron (Ī)

What You'll Learn
How to display the uppercase I with macron (Ī) in HTML using named entity, hexadecimal, decimal, and CSS escape methods. The macron (horizontal bar) indicates a long vowel and is used in Latvian, Latin language texts, and phonetic notation. It is U+012A in the Latin Extended-A block.
Render it with Ī, Ī, Ī, or CSS escape \12A. The named entity Ī is often the most readable option in HTML source.
⚡ Quick Reference — Uppercase I Macron Entity
U+012ALatin Extended-A
ĪHexadecimal reference
ĪDecimal reference
ĪMost readable option
Name Value
──────────── ──────────
Unicode U+012A
Hex code Ī
HTML code Ī
Named entity Ī
CSS code \12A
Meaning Latin capital letter I with macron
Related U+012B = ī (lowercase)
Block Latin Extended-A (U+0100–U+017F)Complete HTML Example
A simple example showing the uppercase I macron (Ī) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\12A";
}
</style>
</head>
<body>
<p>Symbol (hex): Ī</p>
<p>Symbol (decimal): Ī</p>
<p>Symbol (named): Ī</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>🌐 Browser Support
The uppercase I macron (Ī) and the named entity Ī are widely supported in modern browsers when UTF-8 is used:
👀 Live Preview
See the uppercase I macron (Ī) in language and content contexts:
🧠 How It Works
Hexadecimal Code
Ī uses the Unicode hexadecimal value 12A to display the character. The x prefix indicates hexadecimal format.
Decimal HTML Code
Ī uses the decimal Unicode value 298 to display the same character. A common method for Latin Extended-A characters.
Named Entity
Ī is the standard named entity for Ī—readable in source HTML and part of the HTML5 entity set.
CSS Entity
\12A is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
Same visual result
All four methods produce the glyph: Ī. Unicode U+012A sits in Latin Extended-A. Lowercase equivalent: U+012B (ī). Do not confuse with plain I (U+0049) or IPA ɪ (U+026A).
Use Cases
The uppercase I macron (Ī) is commonly used in:
Websites and documents requiring proper Latvian spelling with macron vowels on capital I.
Classical Latin and academic materials marking long vowel sounds with macron.
Personal and place names containing Ī when capitalized.
Scholarly papers, linguistic documentation, and phonetic transcriptions.
Internationalized sites serving Latvian-speaking audiences and other macron-using languages.
Courses and dictionaries teaching long-vowel notation with macron diacritics.
Correct rendering so users can find content with proper diacritic spelling.
💡 Best Practices
Do
- Use
Īin HTML when possible for readability - Serve pages as UTF-8; you can also type Ī directly in UTF-8 source
- Set
langattributes (e.g.lang="lv") for correct pronunciation - Use fonts that support Latin Extended-A characters
- Distinguish Ī (macron) from plain
Iand IPA ɪ
Don’t
- Substitute plain
Iwhen Ī is required for correct spelling - Confuse Ī (macron) with ɪ (IPA small capital I)
- Put CSS escape
\12Ain HTML text nodes - Use padded Unicode notation like U+0012A—the correct value is
U+012A - Use
\0012Ain CSS—the correct escape is\12A
Key Takeaways
Four references render Ī; named entity is most readable
Ī Ī ĪFor CSS stylesheets, use the escape in the content property
\12AUnicode U+012A — LATIN CAPITAL LETTER I WITH MACRON
Essential for Latvian, Latin, phonetic notation, and multilingual i18n content
Previous: Uppercase I Latin (ɪ) Next: Uppercase I Ogonek
❓ Frequently Asked Questions
Ī (named), Ī (hex), Ī (decimal), or \12A in CSS content. The named entity Ī is the most readable for HTML content.U+012A (LATIN CAPITAL LETTER I WITH MACRON). Latin Extended-A block. Hex 12A, decimal 298. Used in Latvian, Latin, and phonetic notation for long vowel sounds.Ī or Ī) or the named entity Ī is used in HTML content. The CSS entity (\12A) is used in CSS, e.g. in the content property of pseudo-elements. Both produce Ī but in different contexts.Explore More HTML Entities!
Discover 1500+ HTML character references — accented letters, symbols, and more.
8 people found this page helpful
