HTML Entity for Broken Vertical Bar (¦)

What You'll Learn
How to display the Broken Vertical Bar (¦) in HTML using various entity methods. This character is U+00A6 in the Latin-1 Supplement block (U+0080–U+00FF), approved in Unicode 1.1 (1993). Unicode officially names it BROKEN BAR (formerly “broken vertical bar”)—a vertical line with a gap in the middle, also known as a parted rule in typography.
It was originally intended as an alternate representation of the pipe character (|, U+007C) in legacy computing environments. You can render it with a hexadecimal reference, a decimal reference, the named entity ¦, or a CSS escape in the content property. All four methods are widely supported in modern browsers.
⚡ Quick Reference — Broken Vertical Bar
U+00A6Latin-1 Supplement block
¦Hexadecimal reference
¦Decimal reference
¦Most readable option
Name Value
──────────── ──────────
Unicode U+00A6
Hex code ¦
HTML code ¦
Named entity ¦
CSS code \A6Complete HTML Example
This example demonstrates the Broken Vertical Bar (¦) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape on a pseudo-element:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\A6";
}
</style>
</head>
<body>
<p>Broken Vertical Bar using Hexa Decimal: ¦</p>
<p>Broken Vertical Bar using HTML Code: ¦</p>
<p>Broken Vertical Bar using HTML Entity: ¦</p>
<p id="point">Broken Vertical Bar using CSS Entity: </p>
</body>
</html>🌐 Browser Support
The Broken Vertical Bar entity is universally supported in all modern browsers:
👀 Live Preview
See the Broken Vertical Bar rendered live in different contexts:
🧠 How It Works
Hexadecimal Code
¦ uses the Unicode hexadecimal value A6 to display the Broken Vertical Bar. The x prefix indicates hexadecimal format.
Decimal HTML Code
¦ uses the decimal Unicode value 166 to display the same character. This is commonly used for Latin-1 Supplement characters.
Named HTML Entity
¦ is the semantic named entity—brvbar stands for “broken vertical bar” and is the most readable option in source HTML.
CSS Entity
\A6 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
Same visual result
All four methods produce the Broken Vertical Bar glyph: ¦. Unicode U+00A6 sits in the Latin-1 Supplement block (U+0080–U+00FF). The solid vertical bar (pipe) is U+007C (|).
Use Cases
The Broken Vertical Bar (¦) commonly appears in the following scenarios:
Parted rules in typesetting, decorative dividers, and layout elements.
Manuals, specifications, and formatted documentation with visual separators.
ISO-8859-1, Windows-1252, and character-set reference material.
Decorative separators, list dividers, and visual breaks in UI copy.
Contexts where a broken vertical bar is used as a distinct symbol.
Inline dividers between columns, labels, or metadata fields.
Provide aria-label or visible text when ¦ conveys meaning (e.g. “broken bar” or “parted rule”).
💡 Best Practices
Do
- Use
¦for readable source markup - Use the solid pipe
|(U+007C) for programming operators and shell syntax - Pick one style (hex / decimal / named) per project
- Add
aria-labelwhen ¦ is a meaningful separator - Declare
<meta charset="utf-8">for reliable Latin-1 rendering
Don’t
- Substitute ¦ for
|in code samples or CLI documentation - Mix entity styles randomly in one file
- Use CSS escape
\A6inside HTML text nodes - Confuse ¦ (broken bar) with
|(solid vertical line / pipe) - Assume decorative separators need no accessible label in UI contexts
Key Takeaways
Three HTML references all render ¦
¦ ¦ ¦For CSS stylesheets, use the escape in the content property
\A6Unicode U+00A6 belongs to the Latin-1 Supplement block (U+0080–U+00FF)
Prefer ¦ for readability in HTML source
Use | (U+007C) for pipes in code; ¦ is for typography and parted rules
❓ Frequently Asked Questions
¦ (hex), ¦ (decimal), ¦ (named), or \A6 in CSS content. All produce ¦.U+00A6 (hex A6, decimal 166). Latin-1 Supplement block. Officially named BROKEN BAR—a vertical line with a gap, also called a parted rule.| (U+007C) instead.¦, ¦, or ¦) go directly in markup. The CSS escape \A6 is used in stylesheets, typically in the content property of ::before or ::after. Same visual result, different layers of the stack.¦ is the named HTML entity for ¦. You can also use ¦ (decimal) or ¦ (hex).Explore More HTML Entities!
Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, and more.
8 people found this page helpful
