HTML Entity for Semicolon (;)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+003B

What Is the Semicolon Entity?

Semicolon (;) is the Basic Latin character at Unicode U+003B (SEMICOLON). HTML5 names it ;. You can also type ; directly on the keyboard.

Remember
Character     ;
Unicode       U+003B
Named entity  ;
Hex entity    &#x3B;
Decimal       &#59;
CSS escape    \3B
Not the same  ⁏ (⁏ reversed)

Named, hex, decimal, CSS, and a typed character all produce the same glyph: ;. Prefer typing ; in normal text; use ; when an explicit entity helps. Do not confuse it with Reversed Semicolon (⁏).

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character;UTF-8 HTML text (everyday default)
Named entity;HTML markup (explicit entity)
Hex entity&#x3B;HTML markup
Decimal entity&#59;HTML markup
CSS escape\3BStylesheet content

When to Use Which

SituationUse
Normal prose / listsType ; on the keyboard
Teaching / documenting entities; or &#59;
Generated text via ::before / ::aftercontent: "\3B"
Colon (:)Use : (U+003A)
Reversed semicolonUse ⁏ (U+204F)

Live Preview

Semicolon in list and syntax contexts, compared with look-alikes.

List snippet apples; oranges; bananas
Large glyph ;
Named entity ; → ;
vs colon / reversed ;  |  :  |  ⁏
With entities Named: ; | Hex: ; | Decimal: ;

Complete HTML Example

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

Named + Hex + Decimal + CSS + Typed

Five ways to display ; in HTML and CSS.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Semicolon (;)</title>
  <style>
    #point::after {
      content: "\3B";
    }
  </style>
</head>
<body>
  <p>Built with Named: &semi;</p>
  <p>Built with Hex: &#x3B;</p>
  <p>Built with Decimal: &#59;</p>
  <p id="point">Built with CSS: </p>
  <p>Typed: ;</p>
  <p>List: apples&semi; oranges&semi; bananas</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &semi; is the HTML5 name for U+003B → ;.

2. Hex: &#x3B; inserts the same code point. Same visual as named.

3. Decimal: same code point as 59 → &#59;.

4. CSS: use \3B in content (not an HTML entity). #point::after appends ;.

5. Typed: press ; on the keyboard in a UTF-8 document — the everyday default.

Pitfalls & Tips

Common mistakes when working with Semicolon.

Typing

Prefer the key

For normal text, type ;. Save entities for docs, generators, or when you need an explicit reference.

Named

&semi; exists

HTML5 defines &semi;. It is case-sensitive — write &semi;, not &SEMI;.

Look-alikes

; ≠ ⁏

U+003B is the normal semicolon. U+204F is reversed semicolon (&bsemi;).

Entities

Terminator role

A semicolon ends every HTML character reference (&sect;, &#167;, …). That is syntax — not the same as displaying U+003B as content.

CSS vs HTML

Do not mix escapes

\3B belongs in CSS. &semi; / &#x3B; / &#59; belong in HTML.

Semicolon

End references

Always finish entities with ; — write &semi;, not &semi.

Browser Support

Semicolon (U+003B) and its entity forms (&semi;, &#x3B;, &#59;, CSS \\3B) are supported in all modern browsers.

✓ Universal encoding

Semicolon (;)

Encode with named, hex, decimal, or CSS escape — or type ; directly in UTF-8 HTML.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer IE 9+
Yes*
U+003B / &semi; Full support

Bottom line: Prefer typing ; in everyday HTML. Use &semi; when an explicit entity helps, and \\3B only inside CSS content.

Key Takeaways

  • Unicode: this symbol is U+003B (decimal 59) — ASCII semicolon.
  • HTML: type ;, or use &semi; / &#x3B; / &#59;.
  • CSS: use \3B inside content for generated text.
  • Watch out: not the same as reversed semicolon (&bsemi;, U+204F).

One line: U+003B → type ; / &semi; / &#x3B; / CSS \3B.

Frequently Asked Questions

Use &semi; (named), &#x3B; (hex), &#59; (decimal), or the CSS escape \3B in the content property. You can also type ; on the keyboard. All methods render ;.
U+003B (SEMICOLON). Hex 3B, decimal 59, named entity &semi;. It belongs to Basic Latin (ASCII).
Yes. HTML5 defines &semi; for U+003B. It is case-sensitive — write &semi;, not &SEMI;. Typing ; directly is also fine.
Type ; for normal prose and code. Use &semi; or numeric forms when teaching entities, generating markup, or when an explicit reference is clearer than a raw character.
HTML entities (&semi;, &#59;, or &#x3B;) go in markup. The CSS escape \3B is used in stylesheets (usually in the content property of ::before/::after). Both render ;.
U+003B is the normal semicolon (;). U+204F is REVERSED SEMICOLON (⁏) with entity &bsemi; — a different character.

Did you know?

Semicolon is Unicode U+003B (decimal 59) — SEMICOLON in Basic Latin (ASCII). HTML5 names it &semi; (case-sensitive). You can also type ; directly. Do not confuse it with reversed semicolon (&bsemi;, U+204F).

Next: Service Mark

Learn the HTML entity for Service Mark — next in this sequence.

Continue tutorial →

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