HTML Entity for Middle Dot (·)

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

What You'll Learn

How to display the middle dot (·) in HTML using hexadecimal, decimal, named entity, and CSS escape methods. This character is U+00B7 (MIDDLE DOT, also called an interpunct) in the Latin-1 Supplement block—a centered dot used as a separator, typographic accent, and math notation marker.

Render it with ·, ·, ·, or CSS escape \00B7. Do not confuse · with the bullet (U+2022) or a period/full stop—each serves a different typographic role.

⚡ Quick Reference — Middle Dot

Unicode U+00B7

Latin-1 Supplement

Hex Code ·

Hexadecimal reference

HTML Code ·

Decimal reference

Named Entity ·

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+00B7
Hex code       ·
HTML code      ·
Named entity   ·
CSS code       \00B7
Meaning        Middle dot / interpunct
Related        U+2022 = bullet (•)
               U+00B7 = also called interpunct
1

Complete HTML Example

This example demonstrates the middle dot (·) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\00B7";
  }
 </style>
</head>
<body>
<p>Middle Dot using Hexadecimal: &#xB7;</p>
<p>Middle Dot using HTML Code: &#183;</p>
<p>Middle Dot using Named Entity: &middot;</p>
<p id="point">Middle Dot using CSS Entity: </p>
<p>Separator: Red &middot; Green &middot; Blue</p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The middle dot is universally supported in all modern browsers:

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

👀 Live Preview

See the middle dot (·) in separator and typography contexts:

Inline separator Red · Green · Blue
Large glyph ·
Named entity &middot; → ·
vs bullet · middle dot   • bullet
Numeric refs &#xB7; &#183; \00B7

🧠 How It Works

1

Hexadecimal Code

&#xB7; uses the Unicode hexadecimal value B7 to display the middle dot. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

CSS Entity

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

CSS stylesheet
4

Named Entity

&middot; is the standard named HTML entity for the middle dot—easy to read and remember in source markup.

HTML markup
=

Same visual result

All four methods produce · (·). Unicode U+00B7 is in Latin-1 Supplement. Prefer &middot; for readable HTML source.

Use Cases

The middle dot (·) is commonly used in:

🔗 Separators

Inline dividers between words, tags, or menu items.

📝 Typography

Interpunct in Catalan, French, and other language conventions.

📈 Mathematics

Dot product notation and scalar multiplication markers.

📚 Names

Separating name parts in bibliographies and formal text.

📰 Publishing

Magazine-style inline separators and editorial layout.

📄 Reference guides

HTML entity tutorials and Unicode symbol documentation.

💡 Best Practices

Do

  • Prefer &middot; for readable HTML source
  • Use · for centered interpunct separators, not list bullets
  • Distinguish · from • (bullet) and period (.)
  • Serve pages with UTF-8 (<meta charset="utf-8">)
  • Add spacing around dots for readability in inline text

Don’t

  • Use · as a bullet when • or semantic lists are appropriate
  • Put CSS escape \00B7 in HTML text nodes
  • Use HTML entities in JS (use \u00B7)
  • Confuse middle dot with hyphen (-) or en dash separators
  • Use padded Unicode notation like U+000B7—the correct value is U+00B7

Key Takeaways

1

Four HTML/CSS references all render ·

&#xB7; &#183; &middot;
2

For CSS stylesheets, use \00B7 in the content property

3

Unicode U+00B7 — MIDDLE DOT (interpunct)

4

Prefer &middot; for readability in HTML source

5

Not the same as bullet • (U+2022)

❓ Frequently Asked Questions

Use &#xB7; (hex), &#183; (decimal), &middot; (named), or \00B7 in CSS content. All produce ·.
U+00B7 (MIDDLE DOT). Latin-1 Supplement block. Hex B7, decimal 183. Named HTML entity: &middot;.
For interpunct separators, inline list dividers, mathematical dot notation, name separators, and typography accents.
· is U+00B7 (MIDDLE DOT), a centered interpunct. • is U+2022 (BULLET), typically used for list markers. They are different characters with different typographic roles.
HTML references (&#183;, &#xB7;, or &middot;) go directly in markup. The CSS escape \00B7 is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.

Explore More HTML Entities!

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