HTML Entity for Midline Horizontal Ellipsis (⋯)

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

What You'll Learn

How to display the midline horizontal ellipsis (⋯) in HTML using hexadecimal, decimal, named entity, and CSS escape methods. This character is U+22EF (MIDLINE HORIZONTAL ELLIPSIS) in the Miscellaneous Mathematical Symbols-B block—three dots centered on the math axis for series, matrices, and mathematical notation.

Render it with ⋯, ⋯, ⋯, or CSS escape \22EF. Do not confuse ⋯ with horizontal ellipsis … (U+2026, …) or one dot leader ․ (U+2024)—each serves a different typographic role.

⚡ Quick Reference — Midline Horizontal Ellipsis

Unicode U+22EF

Math Symbols-B

Hex Code ⋯

Hexadecimal reference

HTML Code ⋯

Decimal reference

Named Entity ⋯

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+22EF
Hex code       ⋯
HTML code      ⋯
Named entity   ⋯
CSS code       \22EF
Meaning        Midline horizontal ellipsis
Related        U+2026 = horizontal ellipsis (…)
               U+2024 = one dot leader (․)
1

Complete HTML Example

This example demonstrates the midline horizontal ellipsis (⋯) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\22EF";
  }
 </style>
</head>
<body>
<p>Midline Ellipsis using Hexadecimal: &#x22EF;</p>
<p>Midline Ellipsis using HTML Code: &#8943;</p>
<p>Midline Ellipsis using Named Entity: &ctdot;</p>
<p id="point">Midline Ellipsis using CSS Entity: </p>
<p>Series: 1, 2, 3, &ctdot;, n</p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The midline horizontal ellipsis is widely supported in modern browsers:

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

See the midline horizontal ellipsis (⋯) in math and typography contexts:

Series 1, 2, 3, ⋯, n
Large glyph
Named entity &ctdot; → ⋯
vs hellip ⋯ midline   … horizontal
Numeric refs &#x22EF; &#8943; \22EF

🧠 How It Works

1

Hexadecimal Code

&#x22EF; uses the Unicode hexadecimal value 22EF to display the midline horizontal ellipsis. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#8943; uses the decimal Unicode value 8943 to display the same character.

HTML markup
3

CSS Entity

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

CSS stylesheet
4

Named Entity

&ctdot; is the standard named HTML entity for the midline horizontal ellipsis—easy to read and remember in source markup.

HTML markup
=

Same visual result

All four methods produce (⋯). Unicode U+22EF is in Miscellaneous Mathematical Symbols-B. Prefer &ctdot; for readable HTML source.

Use Cases

The midline horizontal ellipsis (⋯) is commonly used in:

📈 Mathematics

Infinite series, sequences, and continuation in equations.

📊 Matrices

Indicating omitted rows or columns in matrix notation.

📚 Education

Textbooks, tutorials, and online math content.

📝 Typography

Centered dot leaders aligned on the math axis.

💻 Technical docs

Scientific papers, APIs, and reference documentation.

📄 Reference guides

HTML entity tutorials and Unicode symbol documentation.

💡 Best Practices

Do

  • Use ⋯ for math-axis ellipsis in equations and series
  • Prefer &ctdot; or &#x22EF; consistently per project
  • Distinguish ⋯ from … (&hellip;) for text omission
  • Serve pages with UTF-8 (<meta charset="utf-8">)
  • Test rendering with math-friendly fonts when possible

Don’t

  • Use ⋯ for plain-text truncation—use … instead
  • Confuse U+22EF with U+2024 (one dot leader) or U+2026 (hellip)
  • Put CSS escape \22EF in HTML text nodes
  • Use HTML entities in JS (use \u22EF)
  • Use padded Unicode notation like U+022EF—the correct value is U+22EF

Key Takeaways

1

Four HTML/CSS references all render ⋯

&#x22EF; &#8943; &ctdot;
2

For CSS stylesheets, use \22EF in the content property

3

Unicode U+22EF — MIDLINE HORIZONTAL ELLIPSIS

4

Prefer &ctdot; for readability in HTML source

5

Not the same as horizontal ellipsis … (U+2026)

❓ Frequently Asked Questions

Use &#x22EF; (hex), &#8943; (decimal), &ctdot; (named), or \22EF in CSS content. All produce ⋯.
U+22EF (MIDLINE HORIZONTAL ELLIPSIS). Miscellaneous Mathematical Symbols-B block. Hex 22EF, decimal 8943. Named HTML entity: &ctdot;.
For mathematical series notation, matrix continuation markers, centered ellipsis in equations, and typography where dots align on the math axis.
⋯ is U+22EF (MIDLINE HORIZONTAL ELLIPSIS), centered on the math axis. … is U+2026 (HORIZONTAL ELLIPSIS, &hellip;), typically used for text truncation and omission.
No. ⋯ is three midline dots (U+22EF). ․ is ONE DOT LEADER (U+2024), a single leader dot. They are different characters.

Explore More HTML Entities!

Discover 1500+ HTML character references — math symbols, punctuation, and typography.

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