HTML Entity for Overline (‾)

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

What You'll Learn

How to display the Overline (‾) in HTML using hexadecimal, decimal, named entity, and CSS escape methods. This character is U+203E (OVERLINE) in the General Punctuation block (U+2000–U+206F)—a spacing horizontal line character used in math notation, keyboard references, and technical typography.

Render it with ‾, ‾, the named entity ‾, or CSS escape \203E. Do not confuse ‾ with U+0305 (̅, combining overline placed after a base character), U+033F (̿, double overline), or CSS text-decoration: overline.

⚡ Quick Reference — Overline

Unicode U+203E

General Punctuation (U+2000–U+206F)

Hex Code ‾

Hexadecimal reference

HTML Code ‾

Decimal reference

Named Entity ‾

Standard HTML named entity

Reference Table
Name           Value
────────────   ──────────
Unicode        U+203E
Hex code       ‾
HTML code      ‾
Named entity   ‾
CSS code       \203E
Meaning        Overline (spacing character)
Related        U+0305 = combining overline (̅)
               U+033F = combining double overline (̿)
               U+00AF = macron (¯)
Block          General Punctuation (U+2000–U+206F)
1

Complete HTML Example

A simple example showing ‾ using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\203E";
  }
 </style>
</head>
<body>
<p>Overline (hex): &#x203E;</p>
<p>Overline (decimal): &#8254;</p>
<p>Overline (named): &oline;</p>
<p id="point">Overline (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Overline character (‾) is widely supported in all modern browsers:

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

👀 Live Preview

See the Overline character (‾) in technical and notation contexts:

Single symbol
Keyboard ref Overline key: ‾
Named entity &oline; renders as ‾
Not the same as Combining ̅  |  Double ̿  |  Macron ¯
Numeric refs &#x203E; &#8254; &oline; \203E

🧠 How It Works

1

Hexadecimal Code

&#x203E; uses the Unicode hexadecimal value 203E to display the overline character.

HTML markup
2

Decimal HTML Code

&#8254; uses the decimal Unicode value 8254 for the same character.

HTML markup
3

Named Entity

&oline; is the standard HTML named entity for U+203E—readable and widely supported.

HTML markup
4

CSS Entity

\203E is used in CSS stylesheets in the content property of pseudo-elements for decorative markers.

CSS stylesheet
=

Overline result

All four methods render . Unicode U+203E in General Punctuation. Next: Palatalized Hook Below (̡).

Use Cases

The Overline character (‾) is commonly used in:

📐 Math notation

Standalone overline symbol references in documentation and educational content.

⌨ Keyboard docs

Labeling the overline key or character in technical writing.

📄 Technical text

Spacing overline character where a combining mark is not appropriate.

📋 Entity references

Demonstrating the &oline; named entity in HTML guides.

🎨 Typography

Decorative horizontal line symbols in design and UI mockups.

♿ Accessibility

Pair ‾ with visible text context; do not rely on the symbol alone for meaning.

💡 Best Practices

Do

  • Use &oline; when readability matters in HTML source
  • Use &#x203E; or &#8254; in numeric-only contexts
  • Set <meta charset="utf-8"> for reliable rendering
  • Choose U+203E for a spacing character vs U+0305 for combining over a letter
  • Pick one reference style per project for consistency

Don’t

  • Confuse ‾ with combining overline ̅ or double overline ̿
  • Use padded Unicode notation like U+0203E—the correct value is U+203E
  • Use CSS escape \203E in HTML text nodes
  • Confuse this character with CSS text-decoration: overline
  • Assume ‾ replaces proper math typesetting for complex formulas

Key Takeaways

1

Four ways to render U+203E in HTML and CSS

&#x203E; &oline;
2

For CSS stylesheets, use \203E in the content property

3

Unicode U+203E — OVERLINE (spacing character)

4

Named entity &oline; is the readable HTML shorthand

❓ Frequently Asked Questions

Use &#x203E; (hex), &#8254; (decimal), &oline; (named), or \203E in CSS content. All four render ‾.
U+203E (OVERLINE). General Punctuation block (U+2000–U+206F). Hex 203E, decimal 8254, named &oline;.
No. ‾ (U+203E) is a spacing OVERLINE character with named entity &oline;. ̅ (U+0305) is COMBINING OVERLINE placed immediately after a base character (e.g. x̅).
Use &oline; (U+203E) for a standalone overline symbol. Use U+0305 after a base character when you need an overline attached to a letter or variable (x̅).
The official Unicode name is OVERLINE (U+203E). The URL slug overline-light is kept for navigation continuity; the character is not a separate “light” variant—it is the standard spacing overline with entity &oline;.

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