HTML Entity for Uppercase U Macron (Ū)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+016A

What You'll Learn

How to display the uppercase U with macron (Ū) in HTML using named entity, hexadecimal, decimal, and CSS escape methods. This character is U+016A in the Latin Extended-A block. It combines the letter U with a macron (overline) indicating a long vowel and is the capital form of a distinct letter in Latvian (e.g. BŪT, MŪS) and used in Māori and linguistic notation.

Render it with Ū, Ū, Ū, or CSS escape \016A. The named entity Ū is often the most readable option in HTML source.

⚡ Quick Reference — Uppercase U Macron Entity

Unicode U+016A

Latin Extended-A

Hex Code Ū

Hexadecimal reference

HTML Code Ū

Decimal reference

Named Entity Ū

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+016A
Hex code       Ū
HTML code      Ū
Named entity   Ū
CSS code       \016A
Meaning        Latin capital letter U with macron
Related        U+016B = ū (ū, lowercase)
Block          Latin Extended-A (U+0100–U+017F)
1

Complete HTML Example

A simple example showing the uppercase U macron (Ū) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\016A";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x016A;</p>
<p>Symbol (decimal): &#362;</p>
<p>Symbol (named): &Umacr;</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try It Yourself

🌐 Browser Support

The uppercase U macron (Ū) and the named entity &Umacr; are supported in all modern browsers as part of Latin Extended-A:

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See the uppercase U macron (Ū) in language and content contexts:

Large glyphŪ
LatvianBŪT, MŪS, DŪRA
Named entity&Umacr; renders as Ū
Case pairŪ (uppercase) / ū (lowercase, &umacr;)
Not the same asǕ (u diaeresis macron)  |  Ŭ (u breve)  |  plain U
Numeric refs&#x016A; &#362; &Umacr; \016A

🧠 How It Works

1

Hexadecimal Code

&#x016A; uses the Unicode hexadecimal value 016A to display the character. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#362; uses the decimal Unicode value 362 to display the same character. A common method when a numeric reference is needed.

HTML markup
3

Named Entity

&Umacr; is the standard named entity for Ū—readable in source HTML and part of the HTML entity set for Latin Extended-A characters.

HTML markup
4

CSS Entity

\016A is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All four methods produce the glyph: Ū. Unicode U+016A sits in Latin Extended-A. Lowercase equivalent: U+016B (&umacr;). Do not confuse with Ǖ (u diaeresis macron) or Ŭ (u breve).

Use Cases

The uppercase U macron (Ū) is commonly used in:

🇩🇻 Latvian

Capital form of the macroned u in Latvian orthography (BŪT, MŪS, DŪRA) for headlines, signage, and localized UI.

🇳🇿 Meori

Long vowel U in Meori words and te reo Meori web content and educational materials.

🌐 Internationalization

Multilingual websites, CMS content, and email templates requiring correct extended Latin characters.

📝 Linguistics & Phonology

Phonetic transcription indicating long U with macron marking in capital form.

📚 Language Learning

Courses, dictionaries, and grammar resources teaching macron-accented U.

♿ Accessibility

Using the correct character (U+016A) with appropriate lang attributes helps screen readers pronounce text correctly.

⚙ Programmatic HTML

When escaping user input or generating HTML, &Umacr; ensures safe, correct output.

💡 Best Practices

Do

  • Serve pages as UTF-8; you can type Ū directly in UTF-8 source
  • Use &Umacr; in HTML when possible for readability
  • Use numeric references (&#x016A; or &#362;) when escaping is required
  • Use \016A in CSS content when generating the symbol via pseudo-elements
  • Distinguish Ū from Ǖ (u diaeresis macron) and Ŭ (u breve)

Don’t

  • Confuse Ū with Ǖ (Pinyin u diaeresis macron) or plain U
  • Use the old incorrect CSS escape \0016A—the correct value is \016A
  • Put CSS escape \016A in HTML text nodes
  • Substitute plain U plus combining macron when the precomposed letter is required
  • Double-encode numeric references in dynamically generated HTML

Key Takeaways

1

Use the named entity for readability in HTML source

&Umacr;
2

Or use hex/decimal references when escaping is needed

&#x016A; &#362;
3

For CSS stylesheets, use the escape in the content property

\016A
4

Unicode U+016A — LATIN CAPITAL LETTER U WITH MACRON

❓ Frequently Asked Questions

Use &Umacr; (named), &#x016A; (hex), &#362; (decimal), or \016A in CSS content. All produce Ū. In UTF-8 you can also type Ū directly.
U+016A (LATIN CAPITAL LETTER U WITH MACRON). Latin Extended-A block. Hex 016A, decimal 362. Used in Latvian and Māori. Lowercase form is U+016B (&umacr;).
When displaying Latvian text in uppercase, Māori, linguistic notation, transliteration systems, dictionaries, or any content requiring U with macron (long u).
Yes. The named HTML entity is &Umacr;. You can also use numeric codes &#362; or &#x016A;, or the CSS entity \016A. Do not confuse with Ǖ (u diaeresis macron) or plain U (U+0055).
HTML code (&#362; or &#x016A;) or the named entity &Umacr; is used in HTML content; CSS entity \016A is used in stylesheets in the content property of pseudo-elements. Both produce Ū.

Explore More HTML Entities!

Discover 1500+ HTML character references — letters, symbols, and more.

All HTML Entities →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful