HTML Entity for Overline (‾)

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

What Is the Overline Entity?

Overline is the spacing character at Unicode U+203E that looks like a short horizontal line at the top of the line box (‾). Prefer the named entity ‾, or use ‾ / ‾.

Remember
Character     ‾
Unicode       U+203E
Named entity  ‾
Hex entity    ‾
Decimal       ‾
CSS escape    \203E

Hex, decimal, named, and CSS all produce the same spacing overline. Do not confuse it with combining overline U+0305.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity‾HTML (preferred)
Hex entity‾HTML
Decimal entity‾HTML
CSS escape\203EStylesheet content
Alt named form‾HTML5 synonym for U+203E

When to Use Which

SituationUse
Standalone overline symbol in HTML‾
Need a numeric entity‾ or ‾
Generated text via ::before / ::aftercontent: "\203E"
Line above one letter (e.g. mean)See Combining Overline — x̅
Line above a whole phraseCSS text-decoration: overline

Live Preview

Spacing overline compared with combining overline and CSS decoration.

Example Symbol: ‾
Large glyph ‾
Named entity ‾ → ‾
vs combining / CSS ‾  |  x̅  |  text
With entities Hex: ‾ | Decimal: ‾ | Named: ‾

Complete HTML Example

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

Hex + Decimal + Named + CSS

Four ways to render U+203E (spacing overline ‾).

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Overline (U+203E)</title>
  <style>
    #point::after {
      content: "\203E";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x203E;</p>
  <p>Using HTML Code: &#8254;</p>
  <p>Using Named Entity: &oline;</p>
  <p id="point">Using CSS Entity: </p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: &#x203E; inserts U+203E from its hex value → ‾.

2. Decimal: same character as 8254 → &#8254;. Same visual result.

3. Named: &oline; is the readable HTML5 name for this character (also &OverBar;).

4. CSS: use \203E only inside content (e.g. on ::after).

Pitfalls & Tips

Common mistakes when working with Overline.

vs U+0305

Not combining overline

&oline; is spacing U+203E. For a mark on one letter, use x&#x0305; instead.

vs CSS

Not text-decoration

text-decoration: overline styles a run of text. U+203E is a character you insert.

Slug

Not a “light” variant

Unicode name is OVERLINE. The path /overline-light is only a stable URL slug.

Lookalikes

Not macron or underscore

Macron &macr; (¯) and underscore _ sit differently. Prefer &oline; when you mean U+203E.

CSS vs HTML

Do not mix escapes

\203E belongs in CSS. &oline; / &#x203E; belong in HTML.

Semicolon

End references

Always finish with ; — write &oline;, not &oline.

Browser Support

Overline (U+203E) and its entity forms (&oline;, &#x203E;, &#8254;, CSS \\203E) are supported in all mainstream browsers.

✓ Universal support

Overline (‾)

Encode with named, hex, decimal, or CSS escape. Spacing character — not a combining mark.

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+203E Full support

Bottom line: Prefer &oline; in HTML. Use \\203E only inside CSS content.

Key Takeaways

  • Unicode: Overline is U+203E (decimal 8254).
  • HTML: prefer &oline; (also &#x203E; / &#8254;).
  • CSS: use \203E inside content.
  • Lookalike: not combining U+0305 or CSS overline decoration.

One line: U+203E → &oline; (also &#x203E; / &#8254; / CSS \203E).

Frequently Asked Questions

Use &#x203E; (hex), &#8254; (decimal), &oline; (named), or the CSS escape \203E in the content property. All four render the spacing overline ‾.
U+203E (OVERLINE). Hex 203E, decimal 8254. It belongs to the General Punctuation block.
Yes. Prefer &oline; for readable HTML. &OverBar; is also defined in HTML5 for the same character.
Use it for a standalone overline symbol in math notes, keyboard docs, or technical typography — when you need a spacing character rather than a mark on one letter.
U+203E is a Unicode character you insert in text. CSS text-decoration: overline draws a line above a whole element or text run. Different tools for different jobs.
No. U+203E is a spacing OVERLINE (‾) with &oline;. U+0305 is combining overline — place it after a base character (e.g. x&#x0305;).

Did you know?

Overline is Unicode U+203E (decimal 8254) — in General Punctuation. Prefer the named entity &oline;, or use &#x203E; / &#8254;. It is a spacing character — not the combining mark U+0305. The slug overline-light is for URL continuity; Unicode calls it simply OVERLINE.

Next: Palatalized Hook Below

Continue with the Palatalized Hook Below (̡) entity tutorial.

Palatalized Hook Below tutorial →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

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