HTML Entity for Asterism (⁂)

Beginner
6 min read
Updated: Sep 2026
1 example
Unicode U+2042

What Is the Asterism Entity?

Asterism (⁂) is Unicode U+2042 in the General Punctuation block. It is a single typographic ornament — traditionally three asterisks as one glyph — used as a decorative section or scene break. HTML has no standard named entity — use numeric or CSS forms (or type the character in UTF-8).

Remember
Character     ⁂
Unicode       U+2042
Hex entity    ⁂
Decimal       ⁂
Named entity  (none)
CSS escape    \2042
Not the same  * * * (three U+002A)

All of these produce the same glyph: ⁂. Prefer typing ⁂ in UTF-8 when you can; use ⁂ / ⁂ or CSS for generated content.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character⁂HTML text (UTF-8)
Named entityNone—
Hex entity⁂HTML markup
Decimal entity⁂HTML markup
CSS escape\2042Stylesheet content

When to Use Which

SituationUse
Typographic section / scene break⁂ or type ⁂
Simple “dinkus” with keyboard stars* * * (three ASCII asterisks)
Single mathematical asterisk∗ / ∗
Need an entity in HTML source⁂ or ⁂
Decorative rule via CSScontent: "\2042" on ::before

Live Preview

Asterism as ornament and section break.

Centered break ⁂
Large glyph ⁂
In context End of scene one.
⁂
Scene two begins.
vs. three stars * * *  vs.  ⁂
With entities Hex: ⁂ | Decimal: ⁂

Complete HTML Example

One page that shows ⁂ with hex, decimal, CSS escape, and a typed character. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed

Four ways to produce ⁂ in a single document (no named entity).

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Asterism (⁂) in HTML</title>
  <style>
    #point::after {
      content: "\2042";
    }
  </style>
</head>
<body>
  <p>Asterism using Hex Code: &#x2042;</p>
  <p>Asterism using HTML Code: &#8258;</p>
  <p id="point">Asterism using CSS Entity: </p>
  <p>Typed directly: ⁂</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+2042 → &#x2042; in HTML. The browser turns it into ⁂.

2. Decimal: same code point as 8258 → &#8258;. Same result as hex.

3. CSS: use \2042 in content (not an HTML entity). #point::after appends that ⁂ after the paragraph text.

4. Typed ⁂: fine in UTF-8 source. All four lines show the same glyph.

Pitfalls & Tips

Common mistakes when working with the asterism (⁂).

Named

No &name; form

U+2042 has no standard named entity — use &#x2042; or &#8258;.

***

Not three asterisks

Three * characters are not the same as one asterism code point.

a11y

Decoration only

Keep real headings / landmarks. Treat ⁂ as a visual break, not the only structure cue.

CSS vs HTML

Do not mix escapes

\2042 belongs in CSS. &#x2042; / &#8258; belong in HTML.

Fonts

Check ornament coverage

Some UI fonts omit a polished U+2042. Prefer fonts with solid General Punctuation coverage.

Semicolon

End references

Always finish with ; — write &#x2042;, not &#x2042.

Browser Support

Asterism (U+2042) and its entity forms (&#x2042;, &#8258;, CSS \\2042) are supported in all mainstream browsers. Glyph quality depends on font support for General Punctuation.

✓ Universal support

Asterism (⁂)

Type ⁂, or encode with hex, decimal, or CSS escape — same glyph everywhere encoding is supported.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+2042 / entities Full support

Bottom line: Prefer a typed ⁂ or &#x2042; for section breaks. Use decimal when generating markup, and \\2042 only inside CSS content.

Key Takeaways

  • Unicode: asterism is U+2042 (decimal 8258).
  • HTML: use &#x2042; or &#8258; (no named entity).
  • CSS: use \2042 inside content for generated ornaments.
  • Watch out: ⁂ ≠ * * *.

One line: U+2042 → &#x2042; / &#8258; / CSS \2042.

Frequently Asked Questions

Use &#x2042; (hex), &#8258; (decimal), or the CSS escape \2042 in the content property. All render ⁂. You can also paste ⁂ directly if your file is UTF-8. There is no standard named entity.
U+2042 (hex 2042, decimal 8258). Unicode names it ASTERISM. It belongs to the General Punctuation block (U+2000–U+206F).
No. HTML5 / WHATWG does not define a named character reference for U+2042. Prefer &#x2042;, &#8258;, or a typed ⁂ in UTF-8.
No. Three separate asterisks are three U+002A characters. The asterism is a single code point (U+2042) designed as one typographic ornament.
HTML entities (&#8258; or &#x2042;) go in markup. The CSS escape \2042 is used in stylesheets (usually in the content property of ::before/::after). Both render ⁂.
As a decorative section or scene break in articles and books. Do not use it alone as a heading — keep real <section> / heading structure for accessibility.

Did you know?

Asterism is Unicode U+2042 (decimal 8258) in the General Punctuation block — traditionally three stars as one glyph (⁂). There is no standard named HTML entity. Use it as a decorative section break; keep real headings and landmarks for structure.

Next: Astronomical Symbol Uranus

Learn the HTML entity for the astronomical Uranus symbol (⛢).

Next 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