Period (.) is the Basic Latin character at Unicode U+002E (FULL STOP). It ends sentences and marks abbreviations. HTML5 provides the named entity .; you can also type . directly.
Remember
Character .
Unicode U+002E
Named entity .
Hex entity . (or .)
Decimal .
CSS escape \002E
All of these produce the same glyph: .. Prefer typing . or . for readable HTML.
Reference
Quick Reference
One table for every form you will actually use.
Form
Code
Where it goes
Named entity
.
HTML markup
Hex entity
.
HTML markup (also .)
Decimal entity
.
HTML markup
Direct character
.
HTML text (UTF-8 default)
CSS escape
\002E
Stylesheet content (padded)
When to Use Which
Situation
Use
Everyday sentences
Type . or use .
Numeric entity required
. or .
Generated text via ::before / ::after
content: "\002E"
Ellipsis (one character)
… (…)
Centered / middle dot
· (·)
See it
Live Preview
Period rendered in common contexts.
Glyph.
Large glyph.
In a sentenceHello world.
With entitiesNamed: . | Hex: . | Decimal: .
Related marks… (…) · · (·) · 。
Code
Complete HTML Example
One page that shows the period with named, hex, decimal, direct, and CSS forms. Use View Output or open the live editor.
Use . (named), . or . (hex), . (decimal), type . in UTF-8, or the CSS escape \002E in content. All render .
U+002E (FULL STOP). Hex 2E / 002E, decimal 46. It belongs to Basic Latin and ends sentences or marks abbreviations.
Yes. HTML5 defines .. You can also use . or ., or simply type . in a UTF-8 document — the period is not a reserved HTML markup character.
Use it for sentence endings and abbreviations. Prefer typing . or . for readable source. For three dots as one character, use … (…). For a centered dot, use ·.
HTML entities (., ., or .) go in markup. The CSS escape \002E is used in stylesheets (usually in the content property of ::before/::after). Prefer the padded form \002E so the next digit is not swallowed.
. (U+002E) is a single full stop. … (U+2026, …) is an ellipsis. · (U+00B7, ·) is a middle dot. They look similar at a glance but are different characters.
🤔
Did you know?
Period (.) is Unicode U+002E (decimal 46) — FULL STOP in Basic Latin (also called period in American English). HTML5 provides .. You can also type . directly. Do not confuse it with ellipsis … (…) or middle dot · (·).