HTML Entity for Combining Overline (̅)

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

What You'll Learn

How to display the Combining Overline (̅) in HTML and CSS. This character is U+0305 (COMBINING OVERLINE) in the Combining Diacritical Marks block (U+0300–U+036F). It is a nonspacing mark that attaches above the preceding base character—for example x̅ renders as in math or linguistics notation.

There is no named HTML entity for U+0305. Use ̅, ̅, or \305 in CSS content. Place the mark immediately after the base letter or symbol with no space. Do not confuse with standalone overline U+203E (‾, ‾), double overline U+033F (̿), or CSS text-decoration: overline.

⚡ Quick Reference — Combining Overline

Unicode U+0305

Combining Diacritical Marks (U+0300–U+036F)

Hex Code ̅

Hexadecimal reference

HTML Code ̅

Decimal reference

Named Entity

None for U+0305 (use ‾ for U+203E)

Reference Table
Name           Value
────────────   ──────────
Unicode        U+0305
Hex code       ̅
HTML code      ̅
Named entity   (none)
CSS code       \305
Meaning        Combining overline (above base character)
Related        U+033F = combining double overline (̿)
               U+203E = overline character (‾, ‾)
               U+0302 = combining circumflex (̂)
Block          Combining Diacritical Marks (U+0300–U+036F)
1

Complete HTML Example

A simple example showing U+0305 using hexadecimal and decimal references, a variable with the overline above, plus a CSS content escape. There is no named HTML entity:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\305";
  }
 </style>
</head>
<body>
<p>Overline (hex): &#x0305;</p>
<p>Overline (decimal): &#773;</p>
<p>With base character: x&#x0305; n&#x0305;</p>
<p id="point">Overline (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

U+0305 is supported in modern browsers when placed after a base character and rendered with a font that supports Combining Diacritical Marks:

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

👀 Live Preview

See the combining overline above a base character (math or serif font recommended):

With base character x̅   n̅   A̅
Markup pattern x&#x0305;
Standalone mark ̅
Related marks U+0305 combining   U+033F double ̿   U+203E ‾
Numeric refs &#x0305; &#773; \305

🧠 How It Works

1

Hexadecimal Code

&#x0305; references code point U+0305 using hex digits 0305. Place it immediately after the base character (e.g. x&#x0305;).

HTML markup
2

Decimal HTML Code

&#773; uses the decimal Unicode value 773 for the same combining mark.

HTML markup
3

CSS Entity

\305 is the CSS escape for U+0305, used in the content property of ::before or ::after.

CSS stylesheet
=

Overline above base character

Place U+0305 right after the base: . Next: Overline character (‾) with named entity &oline;.

Use Cases

The Combining Overline (̅) commonly appears in:

📐 Mathematics

Complement, conjugate, mean, or other quantities with a bar above a variable (e.g. x̅).

🔤 Linguistics

Phonetic or phonological notation where an overline marks a specific feature.

📚 Roman numerals

Vinculum notation extending over multiple digits in historical or educational content.

📄 Scientific writing

Physics, statistics, and engineering pages with overlined symbols.

📋 Unicode references

Character pickers, entity documentation, and combining mark guides.

♿ Accessibility

Use fonts that support combining marks so base + U+0305 renders correctly for all users.

💡 Best Practices

Do

  • Place &#x0305; or &#773; immediately after the base character
  • Use <meta charset="utf-8"> on pages with combining marks
  • Choose fonts that support Combining Diacritical Marks (Times, Cambria Math, Noto)
  • Use hex or decimal consistently within one document
  • Prefer MathML for complex formulas when layout matters

Don’t

  • Confuse U+0305 (combining) with U+203E (standalone) or U+033F (double overline)
  • Use padded Unicode notation like U+00305—the correct value is U+0305
  • Put a space between the base character and the combining entity
  • Expect a named HTML entity for U+0305—use &oline; only for U+203E
  • Confuse this Unicode mark with CSS text-decoration: overline

Key Takeaways

1

Two HTML references for the combining mark

&#x0305; &#773;
2

For CSS stylesheets, use \305 in the content property

3

U+0305 Combining Overline — attaches above the preceding character

4

Standalone overline = U+203E (&oline;); double = U+033F

❓ Frequently Asked Questions

Use &#x0305; (hex), &#773; (decimal), or \305 in CSS content. Place the mark right after the base character (e.g. x&#x0305; for x̅). There is no named entity for U+0305.
U+0305 (COMBINING OVERLINE). Combining Diacritical Marks block (U+0300–U+036F). Hex 0305, decimal 773. Placed above the base character.
No. U+0305 is a Unicode combining mark in text content. CSS text-decoration: overline is a styling property that draws a line above text runs or elements. Use the combining mark when you need a character-level overline in plain text or math notation.
U+0305 is COMBINING OVERLINE—a nonspacing mark after a base character (x̅). U+203E is OVERLINE—a spacing character (‾) with the named entity &oline;.
U+0305 is a combining nonspacing mark. It attaches above the preceding base character (e.g. x + U+0305 = x̅). In HTML use x&#x0305; with no space between the base and the entity.

Explore More HTML Entities!

Discover 1500+ HTML character references — punctuation, 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