HTML Entity for Period (.)

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

What You'll Learn

How to display the Period (.) in HTML using hexadecimal, decimal, named entity, and CSS escape methods. This character is U+002E (FULL STOP, also called a period or dot) in the Basic Latin block (U+0020–U+007F)—the standard sentence-ending punctuation mark in English and many other languages.

Render it with ., ., the named entity ., or CSS escape \2E. Do not confuse . with U+00B7 (·, middle dot), U+2024 (․, one dot leader), or decimal points in numbers—context matters.

⚡ Quick Reference — Period

Unicode U+002E

Basic Latin (U+0020–U+007F)

Hex Code .

Hexadecimal reference

HTML Code .

Decimal reference

Named Entity .

Standard HTML named entity

Reference Table
Name           Value
────────────   ──────────
Unicode        U+002E
Hex code       .
HTML code      .
Named entity   .
CSS code       \2E
Also called    Full stop, dot
Example        See you soon.
Related        U+002C = comma (,, ,)
               U+00B7 = middle dot (·, ·)
Block          Basic Latin (U+0020–U+007F)
1

Complete HTML Example

A simple example showing . using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\2E";
  }
 </style>
</head>
<body>
<p>Period (hex): &#x2E;</p>
<p>Period (decimal): &#46;</p>
<p>Period (named): &period;</p>
<p>Sentence: Hello world&period;</p>
<p id="point">Period (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Period (.) is universally supported in all browsers:

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See the Period (.) in common punctuation contexts:

Single symbol .
Sentence end Hello world.
Named entity &period; renders as .
Not the same as Middle dot ·  |  Comma ,
Numeric refs &#x2E; &#46; &period; \2E

🧠 How It Works

1

Hexadecimal Code

&#x2E; uses the Unicode hexadecimal value 2E to display the period.

HTML markup
2

Decimal HTML Code

&#46; uses the decimal Unicode value 46 for the same character.

HTML markup
3

Named Entity

&period; is the standard HTML named entity for U+002E—readable and widely supported.

HTML markup
4

CSS Entity

\2E is used in CSS stylesheets in the content property of pseudo-elements for decorative markers.

CSS stylesheet
=

Period result

All four methods render .. Unicode U+002E in Basic Latin. Next: Permanent Paper Sign (♾).

Use Cases

The Period (.) is commonly used in:

📝 Sentences

End-of-sentence punctuation in articles, blogs, and documentation.

📄 Abbreviations

e.g., Dr., Mr., and U.S.A. in formal and legal text.

💻 Markup clarity

Explicit encoding when punctuation must be unambiguous in HTML.

📜 Legal & technical

Contracts, specs, and structured content with precise punctuation.

📋 Unicode references

Character pickers, entity documentation, and punctuation guides.

🎨 CSS content

Generated punctuation via ::after in lists or breadcrumbs.

💡 Best Practices

Do

  • Use &period; when you want an explicit, readable entity in markup
  • Use &#x2E; or &#46; for numeric references
  • Set <meta charset="utf-8"> for reliable rendering
  • Distinguish . from middle dot · and comma ,
  • Use CSS \2E only in stylesheet content properties

Don’t

  • Confuse . with middle dot · or one dot leader ․
  • Use padded Unicode notation like U+0002E—the correct value is U+002E
  • Use CSS escape \2E in HTML text nodes
  • Overuse entities for every period in plain prose when UTF-8 works fine
  • Use padded CSS notation like \0002E when \2E suffices

Key Takeaways

1

Four ways to render U+002E in web content

&#x2E; &#46; &period;
2

For CSS stylesheets, use \2E in the content property

3

Unicode U+002E — FULL STOP (period) in Basic Latin

4

Distinct from middle dot · and comma ,

❓ Frequently Asked Questions

Use &#x2E; (hex), &#46; (decimal), &period; (named entity), or \2E in CSS content. All four render .
U+002E (FULL STOP). Basic Latin block (U+0020–U+007F). Hex 2E, decimal 46, named entity period.
No. . (U+002E) is FULL STOP for sentence endings. · (U+00B7) is MIDDLE DOT (&middot;), a different punctuation character used as a separator.
Use &period; when you want explicit entity encoding in markup, tutorials, or contexts where punctuation must be clearly specified. In normal UTF-8 text, typing . directly is usually fine.
&period; is the HTML named entity for U+002E (full stop / period). It renders as . and is often the most readable choice in HTML markup.

Explore More HTML Entities!

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