HTML Entity for Combining Overline (U+0305)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+0305

What Is the Combining Overline Entity?

Combining Overline is the nonspacing mark at Unicode U+0305 that draws a line above the preceding character. HTML5 has no named entity — use ̅ or ̅ right after a base (e.g. x̅ → x̅).

Remember
Character     (combining) ̅
Unicode       U+0305
Named entity  (none)
Hex entity    ̅
Decimal       ̅
CSS escape    \305

Hex, decimal, and CSS all produce the same combining mark. Always place it immediately after the base character.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Hex entity̅After a base character in HTML
Decimal entity̅After a base character in HTML
CSS escape\305Stylesheet content
Named entityNoneNot available for U+0305
Spacing overline‾U+203E — different character

When to Use Which

SituationUse
Line above one letter (e.g. mean)x̅
Need an entity in HTML source̅ or ̅
Generated text via ::before / ::aftercontent: "\305" (after a base in the string)
Line above a whole phraseCSS text-decoration: overline
Standalone spacing overline (‾)See Overline — ‾

Live Preview

Combining mark on a letter, compared with spacing overline and CSS decoration.

Example Mean: x̅
Large glyph x̅
Hex after base x̅ → x̅
vs ‾ / CSS x̅  |  ‾  |  text
With entities Hex: x̅ | Decimal: x̅

Complete HTML Example

One page that shows Combining Overline with hex, decimal, and CSS forms. Use View Output or open the live editor.

Hex + Decimal + CSS

Three ways to apply U+0305 after a base character (no named entity).

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Combining Overline (U+0305)</title>
  <style>
    #point::after {
      content: "x\305";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: x&#x0305;</p>
  <p>Using HTML Code: x&#773;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Mean value: x&#x0305;</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: write the base, then &#x0305; — e.g. x&#x0305; → x̅.

2. Decimal: same mark as 773 → x&#773;. Same visual result.

3. CSS: use \305 in content after a base in the string (e.g. "x\305").

4. No named form: do not use &oline; for U+0305 — that name is for spacing overline U+203E.

Pitfalls & Tips

Common mistakes when working with Combining Overline.

Order

Base first, then mark

Write x&#x0305;, not &#x0305;x. The mark attaches to the previous character.

vs ‾

Not &oline;

&oline; is U+203E (spacing). Combining overline is U+0305.

vs CSS

Not text-decoration

text-decoration: overline styles a run of text. U+0305 is a character-level mark.

Font

Check combining support

Some fonts stack combining marks poorly. Prefer a font with solid diacritic support.

CSS vs HTML

Do not mix escapes

\305 belongs in CSS. &#x0305; / &#773; belong in HTML.

Semicolon

End references

Always finish with ; — write &#x0305;, not &#x0305.

Browser Support

Combining Overline (U+0305) and its entity forms (&#x0305;, &#773;, CSS \\305) are supported in all mainstream browsers with a font that supports Combining Diacritical Marks.

✓ Universal support

Combining Overline (U+0305)

Encode with hex, decimal, or CSS escape after a base character. No named entity.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer IE 9+
Yes*
U+0305 Full support

Bottom line: Prefer base&#x0305; in HTML. Use \\305 only inside CSS content.

Key Takeaways

  • Unicode: Combining Overline is U+0305 (decimal 773).
  • HTML: prefer base&#x0305; (no named entity).
  • CSS: use \305 inside content after a base.
  • Lookalike: not &oline; (U+203E) or CSS overline decoration.

One line: U+0305 → x&#x0305; (also &#773; / CSS \305).

Frequently Asked Questions

Use &#x0305; (hex), &#773; (decimal), or the CSS escape \305 in the content property. Place it immediately after the base character (e.g. x&#x0305;). There is no named HTML entity for U+0305.
U+0305 (COMBINING OVERLINE). Hex 0305, decimal 773. It belongs to the Combining Diacritical Marks block.
No. Use &#x0305; or &#773;. The named entity &oline; is for the spacing overline U+203E, not this combining mark.
Use it for math, linguistics, and notation when a line must sit above one character — for example mean value x̅ written as x&#x0305;.
U+0305 is a Unicode combining mark attached to one base character. CSS text-decoration: overline draws a line above a whole element or text run. Different tools for different jobs.
No. U+0305 is combining (nonspacing) overline after a base letter. U+203E is a spacing OVERLINE character with named entity &oline;.

Did you know?

Combining Overline is Unicode U+0305 (decimal 773) — in Combining Diacritical Marks. HTML5 has no named entity — use &#x0305; or &#773; right after a base character (e.g. x&#x0305; → x̅). Related spacing overline: &oline; (‾, U+203E).

Next: Overline

Continue with the spacing Overline (‾, &oline;) entity tutorial.

Overline tutorial →

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