HTML Entity for Horizontal Ellipsis (…)

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

What You'll Learn

How to display the Horizontal Ellipsis (…) in HTML using hexadecimal, decimal, named entity, and CSS escape methods. This character is U+2026 (HORIZONTAL ELLIPSIS) in the General Punctuation block (U+2000–U+206F). It indicates omission, continuation, or trailing off in text.

Render it with …, …, …, or CSS escape \2026. Prefer … over three separate periods (...) for proper typography. It has a named HTML entity for readable markup.

⚡ Quick Reference — Horizontal Ellipsis

Unicode U+2026

General Punctuation

Hex Code …

Hexadecimal reference

HTML Code …

Decimal reference

Named Entity …

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2026
Hex code       …
HTML code      …
Named entity   …
CSS code       \2026
Meaning        Ellipsis (omission, continuation)
CSS note       \2026 or \02026 in content property
1

Complete HTML Example

This example demonstrates the Horizontal Ellipsis symbol (…) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2026";
  }
 </style>
</head>
<body>
<p>Horizontal Ellipsis using Hexadecimal: &#x2026;</p>
<p>Horizontal Ellipsis using Decimal: &#8230;</p>
<p>Horizontal Ellipsis using Named Entity: &hellip;</p>
<p id="point">Horizontal Ellipsis using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Horizontal Ellipsis (…) is supported in all modern browsers; most fonts include General Punctuation:

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

👀 Live Preview

See the Horizontal Ellipsis (…) in typography and UI contexts:

Large glyph
Named entity &hellip; renders as …
Truncated text Read more…
vs three dots … (hellip)   ... (periods)
Numeric refs &#x2026; &#8230; &hellip; \2026

🧠 How It Works

1

Hexadecimal Code

&#x2026; uses the Unicode hexadecimal value 2026 to display the symbol. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

Named Entity

&hellip; is the semantic named entity for …—readable in source HTML and part of the HTML5 character set.

HTML markup
4

CSS Entity

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

CSS stylesheet
=

Same visual result

All four methods produce the glyph: . Unicode U+2026 is in General Punctuation. Next: Horizontal Male Stroke Sign.

Use Cases

The Horizontal Ellipsis symbol (…) is commonly used in:

✂ Truncated text

Shortened excerpts, headlines, or descriptions with a read-more cue.

📝 Quotations

Indicate omitted words or phrases in quoted text.

📁 Menus

More options or submenu indicators (e.g. Settings…).

⏳ Loading

Placeholders, loading states, or coming-soon text.

💬 Dialogue

Trailing thought or unfinished dialogue in stories and UI copy.

🎨 Typography

Single ellipsis character for consistent spacing and appearance.

💡 Best Practices

Do

  • Use &hellip; for readable source markup
  • Most fonts support General Punctuation (U+2026); test on target devices
  • Keep one method (named, hex, or decimal) consistent across the document
  • For CSS truncation, use text-overflow: ellipsis; use &hellip; when the ellipsis is in content
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Put CSS escape \2026 in HTML text nodes
  • Use three periods (...) instead of &hellip; for a proper ellipsis
  • Put CSS escape \2026 in HTML text nodes
  • Rely on the symbol alone for screen reader users
  • Skip browser testing for math-heavy pages

Key Takeaways

1

Three HTML references plus CSS all render …

&#x2026; &#8230; &hellip;
2

For CSS stylesheets, use the escape in the content property

\2026
3

Unicode U+2026 — HORIZONTAL ELLIPSIS

4

Prefer &hellip; for readability in HTML source

❓ Frequently Asked Questions

Use &#x2026; (hex), &#8230; (decimal), &hellip; (named), or \2026 in CSS content. All produce ….
U+2026 (HORIZONTAL ELLIPSIS). General Punctuation block (U+2000–U+206F). Hex 2026, decimal 8230. Named entity: &hellip;.
For truncated text and read-more indicators, quotations and omitted text, menus and navigation, placeholders and loading states, and anywhere you need a proper ellipsis instead of three separate dots.
&hellip; is the named HTML entity for …. It is part of the HTML5 named character set and the most readable option in source markup.
&hellip; is used directly in HTML content. The CSS escape \2026 (or \02026) belongs in stylesheets, typically in the content property of ::before or ::after. Both render ….
Prefer &hellip; (or &#x2026;) for a proper ellipsis. It renders as one typographic unit with consistent spacing. Three periods can look uneven and may wrap differently across lines.

Explore More HTML Entities!

Discover 1500+ HTML character references — punctuation, dashes, 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