HTML Entity for Broken Vertical Bar (¦)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+00A6

What Is Broken Vertical Bar?

Broken vertical bar (¦) is Unicode U+00A6 in the Latin-1 Supplement block (official name BROKEN BAR). It looks like a vertical line with a gap — useful for parted rules and decorative dividers. HTML provides the named entity ¦.

Remember
Character     ¦
Unicode       U+00A6
Hex entity    ¦
Decimal       ¦
Named entity  ¦
CSS escape    \A6
Not the same  | U+007C (vertical bar / pipe)

All of these produce the same glyph: ¦. Prefer ¦ in hand-written HTML; type ¦ in UTF-8 when you can; use numeric or CSS forms for generated content.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character¦HTML text (UTF-8)
Named entity¦HTML markup (preferred name)
Hex entity¦HTML markup
Decimal entity¦HTML markup
CSS escape\A6Stylesheet content

When to Use Which

SituationUse
Broken / parted vertical bar¦ or type ¦
Solid pipe / vertical line| (U+007C)
Need an entity in HTML source¦, ¦, or ¦
Icon via CSScontent: "\A6" on ::before

Live Preview

Broken vertical bar in study contexts.

Inline divider A ¦ B ¦ C
Large glyph ¦
vs. solid bar ¦ broken  ·  | solid
Accessible label Section A separator Section B
With entities Named: ¦ | Hex: ¦ | Decimal: ¦

Complete HTML Example

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

Hex + Decimal + Named + CSS + Typed

Five ways to produce ¦ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Broken Vertical Bar (¦) in HTML</title>
  <style>
    #point::after {
      content: "\A6";
    }
  </style>
</head>
<body>
  <p>Broken vertical bar using Hex Code: &#xA6;</p>
  <p>Broken vertical bar using HTML Code: &#166;</p>
  <p>Broken vertical bar using Named Entity: &brvbar;</p>
  <p id="point">Broken vertical bar using CSS Entity: </p>
  <p>Typed directly: ¦</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+00A6 → &#xA6; in HTML. The browser turns it into ¦.

2. Decimal: same code point as 166 → &#166;. Same result as hex.

3. Named: &brvbar; is the standard HTML name for U+00A6 — clear in source.

4. CSS: use \A6 in content (not an HTML entity). #point::after appends that ¦ after the paragraph text.

5. Typed ¦: fine in UTF-8 source. All five lines show the same glyph.

Pitfalls & Tips

Common mistakes when working with broken vertical bar (¦).

Named

Prefer &brvbar;

Use &brvbar; in hand-written HTML. Numeric forms are fine for generated markup.

|

Not the solid pipe

For a continuous vertical line use | (U+007C).

a11y

Say “separator”

Screen readers may not announce “broken bar.” Pair the glyph with visible or visually hidden text when it carries meaning.

Fonts

Check Latin-1 coverage

Most fonts include U+00A6. If the gap is hard to see, increase size or choose a clearer typeface.

CSS vs HTML

Do not mix escapes

\A6 belongs in CSS. &#xA6; / &#166; / &brvbar; belong in HTML.

Semicolon

End references

Always finish with ; — write &brvbar;, not &brvbar.

Browser Support

Broken vertical bar (U+00A6) and its entity forms (&brvbar;, &#xA6;, &#166;, CSS \\A6) are supported in all mainstream browsers. Glyph quality depends on font support for Latin-1 Supplement.

✓ Universal support

Broken Vertical Bar (¦)

Type ¦, or encode with named, hex, decimal, or CSS escape — same glyph everywhere encoding is supported.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+00A6 / entities Full support

Bottom line: Prefer &brvbar; or a typed ¦ for markers. Use decimal when generating markup, and \\A6 only inside CSS content.

Key Takeaways

  • Unicode: broken vertical bar is U+00A6 (decimal 166).
  • HTML: prefer &brvbar; (also &#xA6;, &#166;).
  • CSS: use \A6 inside content for generated icons.
  • Watch out: ¦ ≠ | (broken ≠ solid vertical bar).

One line: U+00A6 → &brvbar; / &#xA6; / &#166; / CSS \A6.

Frequently Asked Questions

Use &#xA6; (hex), &#166; (decimal), &brvbar; (named), or the CSS escape \A6 in the content property. All render ¦. You can also paste ¦ directly if your file is UTF-8.
U+00A6 (hex A6, decimal 166). Unicode names it BROKEN BAR. It belongs to the Latin-1 Supplement block.
Yes. &brvbar; maps to U+00A6. Prefer &brvbar; in hand-written HTML; numeric forms are useful in generated markup.
¦ (U+00A6) is the broken bar (gap in the middle). | (U+007C) is the solid vertical line / pipe. They are different code points.
HTML entities (&#166;, &#xA6;, or &brvbar;) go in markup. The CSS escape \A6 is used in stylesheets (usually in the content property of ::before/::after). Both render ¦.
Use ¦ for parted rules, decorative dividers, and typography where a broken bar is intended. Prefer | for code pipes and keyboard vertical bars.

Did you know?

Broken vertical bar is Unicode U+00A6 (decimal 166) in the Latin-1 Supplement block — official name BROKEN BAR. HTML’s named reference is &brvbar;. It is not the solid vertical bar (U+007C |).

Next: Bullet Operator

Learn the HTML entity for the bullet operator (∙).

Next 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