HTML Entity for Midline Horizontal Ellipsis (⋯)

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

What Is the Midline Horizontal Ellipsis Entity?

Midline horizontal ellipsis (⋯) is Unicode U+22EF — a centered three-dot mark used in math series. HTML5 provides ⋯. It is different from the prose ellipsis … (…).

Remember
Character     ⋯
Unicode       U+22EF
Named entity  ⋯
Hex entity    ⋯
Decimal       ⋯
CSS escape    \22EF

Named, hex, decimal, CSS, and a typed character all produce the same glyph: ⋯.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity⋯HTML markup (preferred for math)
Direct character⋯UTF-8 HTML text
Hex entity⋯HTML markup
Decimal entity⋯HTML markup
CSS escape\22EFStylesheet content

When to Use Which

SituationUse
Math series and centered omissions⋯ (clearest HTML form)
Need an entity in HTML source⋯, ⋯, or ⋯
Generated text via ::before / ::aftercontent: "\22EF"
Prose / UI truncationPrefer Horizontal Ellipsis — … (…)
Three typed periodsAvoid ... when you mean a real ellipsis character

Live Preview

Midline ellipsis in math and comparison contexts.

Series 1, 2, 3, ⋯, n
Large glyph ⋯
Named entity ⋯ → ⋯
vs … ⋯  |  …
With entities Named: ⋯ | Hex: ⋯ | Decimal: ⋯

Complete HTML Example

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

Named + Hex + Decimal + CSS

Four ways to produce ⋯ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Midline Ellipsis (⋯)</title>
  <style>
    #point::after {
      content: "\22EF";
    }
  </style>
</head>
<body>
  <p>Using Named Entity: &ctdot;</p>
  <p>Using Hex Code: &#x22EF;</p>
  <p>Using HTML Code: &#8943;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Series: 1, 2, 3, &ctdot;, n</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &ctdot; is the clearest HTML form and renders ⋯.

2. Hex: U+22EF → &#x22EF; in HTML. Same result as the named entity.

3. Decimal: same code point as 8943 → &#8943;. Same result as hex and named.

4. CSS: use \22EF in content (not an HTML entity). #point::after appends that ⋯ after the paragraph text.

Pitfalls & Tips

Common mistakes when working with this ellipsis.

Prefer

Use &ctdot; for math

The named entity is clearer than numeric forms and is defined in HTML5.

vs …

Not the prose ellipsis

&hellip; (…) sits for reading text. &ctdot; (⋯) is the midline math form.

...

Avoid three periods

Typing ... is not the same Unicode character and may wrap or spacing poorly.

CSS vs HTML

Do not mix escapes

\22EF belongs in CSS. &ctdot; / &#x22EF; / &#8943; belong in HTML.

Encoding

Declare UTF-8

If you type ⋯ directly, keep <meta charset="UTF-8"> so the file is not misread.

Semicolon

End references

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

Browser Support

Midline horizontal ellipsis (U+22EF) and its entity forms (&ctdot;, &#x22EF;, &#8943;, CSS \\22EF) are supported in all mainstream browsers with a Unicode-capable font.

✓ Universal support

Midline Horizontal Ellipsis (&ctdot;)

Encode with named, hex, decimal, or CSS escape — or type ⋯ directly in UTF-8 HTML.

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+22EF / &ctdot; Full support

Bottom line: Prefer &ctdot; in HTML for math. Use \\22EF only inside CSS content.

Key Takeaways

  • Unicode: this ellipsis is U+22EF (decimal 8943).
  • HTML: prefer &ctdot; (also &#x22EF; / &#8943;).
  • CSS: use \22EF inside content for generated text.
  • Use case: math series — prose uses &hellip; instead.

One line: U+22EF → prefer &ctdot; (also &#x22EF; / &#8943; / CSS \22EF).

Frequently Asked Questions

Use &ctdot; (named), &#x22EF; (hex), &#8943; (decimal), or the CSS escape \22EF in the content property. All render ⋯. Prefer &ctdot; in HTML source for math.
U+22EF (MIDLINE HORIZONTAL ELLIPSIS). Hex 22EF, decimal 8943. It belongs to the Mathematical Operators block.
Yes. &ctdot; is the HTML5 named entity for ⋯.
Use it for mathematical series and centered omission marks (1, 2, 3, ⋯, n). For everyday prose omissions, prefer &hellip; (…).
HTML entities (&ctdot;, &#8943;, or &#x22EF;) go in markup. The CSS escape \22EF is used in stylesheets (usually in the content property of ::before/::after). Both render ⋯.
No. &ctdot; is the midline math ellipsis (⋯, U+22EF). &hellip; is the horizontal ellipsis (…, U+2026) used in prose.

Did you know?

Midline horizontal ellipsis is Unicode U+22EF (decimal 8943) — in Mathematical Operators. HTML5 provides &ctdot;. Prefer it for math series (1, 2, 3, ⋯, n). Prose omissions usually use &hellip; (…, U+2026).

Next: Mill Sign

Continue with the mill sign (₥) entity tutorial.

Mill sign 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