HTML Entity for Lowercase I Latin Macron (ī)

What You'll Learn
How to display the lowercase 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+012B in the Latin Extended-A block.
Render it with ī, ī, ī, or CSS escape \12B. The named entity ī is often the most readable option in HTML source.
⚡ Quick Reference — Lowercase I Latin Macron Entity
U+012BLatin Extended-A
īHexadecimal reference
īDecimal reference
īMost readable option
Name Value
──────────── ──────────
Unicode U+012B
Hex code ī
HTML code ī
Named entity ī
CSS code \12B
Meaning Latin small letter i with macron
Related U+012A = Ī (uppercase)
Block Latin Extended-A (U+0100–U+017F)Complete HTML Example
A simple example showing the lowercase i macron (ī) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\12B";
}
</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 lowercase i macron (ī) and the named entity ī are supported in modern browsers:
👀 Live Preview
See the lowercase i macron (ī) in language and content contexts:
🧠 How It Works
Named Entity
ī is the standard named entity for ī—readable in source HTML and part of the HTML5 entity set.
Hexadecimal Code
ī uses the Unicode hexadecimal value 12B to display the character. The x prefix indicates hexadecimal format.
Decimal HTML Code
ī uses the decimal Unicode value 299 to display the same character. A common method for Latin Extended-A characters.
CSS Entity
\12B 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+012B sits in Latin Extended-A. It decomposes to i (U+0069) + combining macron (U+0304). Uppercase equivalent: U+012A (Ī). Do not confuse with plain i (U+0069) or combining ͥ (U+0365).
Use Cases
The lowercase i macron (ī) is commonly used in:
ī is a distinct letter in the Latvian alphabet and appears in everyday words.
Marking long vowels in Latin texts and learning materials (vowel length).
Linguistics and pronunciation guides indicating a long i sound.
Courses and resources for Latvian, Latin, or phonetics teaching macron usage.
Correct spelling of Latvian names and words in input fields and databases.
Websites and apps for languages that use the macron to mark long vowels on i.
Accurate diacritics improve clarity for readers and assistive technologies.
💡 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",lang="la") for correct pronunciation - Use fonts that support Latin Extended-A characters
- Distinguish ī (macron) from plain
i, í (acute), and ͥ (combining mark)
Don’t
- Substitute plain
iwhen ī is required for correct spelling - Confuse ī (macron, U+012B) with ͥ (combining Latin small letter i, U+0365)
- Put CSS escape
\12Bin HTML text nodes - Assume all fonts render Latin Extended-A glyphs identically
- Omit UTF-8 encoding on pages with accented characters
Key Takeaways
Four references render ī; named entity is most readable
ī ī īFor CSS stylesheets, use the escape in the content property
\12BUnicode U+012B — LATIN SMALL LETTER I WITH MACRON
Essential for Latvian, Latin, and phonetic notation
Previous: Lowercase I Latin (ͥ) Next: Lowercase I Ogonek
❓ Frequently Asked Questions
ī. You can also use ī (decimal) or ī (hex).U+012B (LATIN SMALL LETTER I WITH MACRON). Latin Extended-A block. Hex 12B, decimal 299.i (U+0069) + combining macron (U+0304).Explore More HTML Entities!
Discover 1500+ HTML character references — accented letters, symbols, and more.
8 people found this page helpful
