HTML Entity for Semicolon (;)

What You'll Learn
How to display the Semicolon (;) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+003B (SEMICOLON) in the Basic Latin block (ASCII)—used for punctuation in prose, list separators, and as a statement terminator in JavaScript and CSS.
Render it with ;, ;, or CSS \3B. You can usually type ; directly on the keyboard. There is no standard named HTML entity for U+003B. Do not confuse ; with Reversed Semicolon U+204F (⁏, ⁏).
⚡ Quick Reference — Semicolon
U+003BBasic Latin / ASCII
;Hexadecimal reference
;Decimal reference
—Use numeric codes or type ;
Name Value
──────────── ──────────
Unicode U+003B
Hex code ;
HTML code ;
Named entity (none)
CSS code \3B
Also called Semicolon punctuation
Not the same U+204F = reversed semicolon (⁏, ⁏)
Block Basic Latin / ASCII (U+0000–U+007F)Complete HTML Example
A simple example showing ; using hexadecimal code, decimal HTML code, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point::after{
content: "\3B";
}
</style>
</head>
<body>
<p>Semicolon (hex): ;</p>
<p>Semicolon (decimal): ;</p>
<p id="point">Semicolon (CSS): </p>
</body>
</html>🌐 Browser Support
U+003B is universally supported in all browsers and systems:
👀 Live Preview
See the Semicolon in common punctuation and syntax contexts:
🧠 How It Works
Hexadecimal Code
; references code point U+003B using hex digits 3B.
Decimal HTML Code
; is the decimal equivalent (59) for the same character.
CSS Entity
\3B is the CSS escape for U+003B, used in the content property of ::before or ::after.
Same visual result
All three methods produce the semicolon glyph: ;. Unicode U+003B is basic ASCII punctuation. No named entity. Next: Service Mark.
Use Cases
The Semicolon (;) commonly appears in:
Complex sentences and list separators in articles and documentation.
JavaScript statement terminators and syntax examples in tutorials.
Property declaration separators in stylesheets and code samples.
HTML entity reference pages explaining character encoding.
Programmatic output when an explicit character reference is preferred.
Punctuation guides, style manuals, and editing references.
💡 Best Practices
Do
- Type
;directly for normal prose and punctuation - Use
;or;when documenting entities explicitly - Set
<meta charset="utf-8">for reliable rendering - Use
\3Bonly inside CSScontent - Distinguish ; from reversed semicolon ⁏ (
⁏)
Don’t
- Expect a standard named HTML entity for U+003B
- Over-escape every semicolon when plain typing works fine
- Confuse ; with ⁏ (reversed semicolon, U+204F)
- Put CSS escape
\3Bin HTML text nodes - Use padded Unicode notation like U+0003B—the correct value is
U+003B
Key Takeaways
Three ways to render U+003B in HTML and CSS
; ;For CSS stylesheets, use \3B in the content property
U+003B SEMICOLON (ASCII punctuation)
No named entity—type ; or use numeric codes
Previous: Section Sign (§) Next: Service Mark
❓ Frequently Asked Questions
; (hex), ; (decimal), or \3B in CSS content. You can also type ; directly on the keyboard. There is no standard named HTML entity for U+003B.U+003B (SEMICOLON). Basic Latin / ASCII. Hex 3B, decimal 59.; or ;) go in markup. The CSS escape \3B is used in stylesheets, typically in the content property of pseudo-elements.Explore More HTML Entities!
Discover 1500+ HTML character references — punctuation, symbols, and more.
8 people found this page helpful
