HTML Entity for Contains Vertical Bar At End Horizontal Stroke (⋻)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+22FB

What Is Contains Vertical Bar At End Horizontal Stroke?

Contains with vertical bar at end of horizontal stroke (⋻) is the Unicode character at U+22FB in the Mathematical Operators block. It is a contains-style set symbol with a vertical bar at the end of the horizontal stroke — related to, but not the same as, plain contains as member (∋).

Remember
Character     ⋻
Unicode       U+22FB
Hex entity    ⋻
Decimal       ⋻
Named entity  ⋻
CSS escape    \22FB
Not the same  ∋ U+220B · ⋺ U+22FA · ⋽ U+22FD

All of these produce the same glyph: ⋻. Prefer ⋻ or a typed ⋻ in hand-written HTML; use numeric forms when generating markup.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character⋻HTML text (UTF-8)
Named entity⋻HTML markup
Hex entity⋻HTML markup
Decimal entity⋻HTML markup
CSS escape\22FBStylesheet content

When to Use Which

SituationUse
This vertical-bar contains variant⋻ or type ⋻
Plain “contains as member”∋ U+220B (∋)
Contains with long horizontal stroke⋺ U+22FA (⋺)
Contains with overbar⋽ U+22FD (⋽)
Generated text via ::before / ::aftercontent: "\22FB"

Live Preview

This contains variant rendered next to related contains symbols.

Inline math A ⋻ x
Large glyph ⋻
Compared ⋻   ∋   ⋺   ⋽
Monospace set ⋻ el
With entities Named: ⋻ | Hex: ⋻ | Decimal: ⋻

Complete HTML Example

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

Named + Hex + Decimal + CSS + Typed

Five ways to produce ⋻ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Contains Vertical Bar At End Horizontal Stroke (⋻) in HTML</title>
  <style>
    #point::after {
      content: "\22FB";
    }
  </style>
</head>
<body>
  <p>Contains vertical-bar variant using Named Entity: &xnis;</p>
  <p>Contains vertical-bar variant using Hex Code: &#x22FB;</p>
  <p>Contains vertical-bar variant using HTML Code: &#8955;</p>
  <p id="point">Contains vertical-bar variant using CSS Entity: </p>
  <p>Typed directly: ⋻</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &xnis; is the HTML5 named reference for U+22FB → ⋻.

2. Hex: U+22FB → &#x22FB; in HTML. Same glyph as the named form.

3. Decimal: same code point as 8955 → &#8955;. Same result as hex.

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

5. Typed: in a UTF-8 page you can paste ⋻ directly. All five lines show the same glyph.

Pitfalls & Tips

Common mistakes when working with this contains variant.

Named

&xnis; ≠ &ni;

&xnis; is U+22FB. &ni; is U+220B. Also do not confuse with &nis; (U+22FC) or &nisd; (U+22FA).

Variant

Not plain contains

Use ∋ for everyday contains-as-member. Use ⋻ only when this vertical-bar form is required.

Siblings

Pick the matching variant

Long stroke = &nisd; (U+22FA). Overbar = &notnivc; (U+22FD). Vertical bar at end = &xnis; (U+22FB).

CSS vs HTML

Do not mix escapes

\22FB belongs in CSS. &xnis; / &#x22FB; / &#8955; belong in HTML.

Fonts

Math font coverage

Some fonts omit U+22FB. Prefer a font with Mathematical Operators coverage for display.

Semicolon

End references

Always finish with ; — write &xnis; and &#8955;, not bare forms.

Browser Support

Contains with vertical bar at end of horizontal stroke (U+22FB) and its entity forms (&xnis;, &#x22FB;, &#8955;, CSS \\22FB) are supported in all mainstream browsers. Visible glyphs depend on font coverage.

✓ Universal support

Contains Vertical Bar At End Horizontal Stroke (⋻)

Encode with named, hex, decimal, CSS escape, or type the character — 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+22FB / entities Full support

Bottom line: Prefer &xnis; or typed ⋻ in HTML. Use \\22FB only inside CSS content. Prefer &ni; / ∋ for plain contains-as-member.

Key Takeaways

  • Unicode: this contains variant is U+22FB (decimal 8955) — glyph ⋻.
  • HTML: use &xnis;, &#x22FB;, &#8955;, or type ⋻.
  • CSS: use \22FB inside content for generated text.
  • Watch out: &xnis; ≠ &ni; ≠ &nisd; ≠ &notnivc;.

One line: U+22FB → &xnis; / &#8955; / CSS \22FB / type ⋻.

Frequently Asked Questions

Use &#x22FB; (hex), &#8955; (decimal), &xnis; (named), or the CSS escape \22FB in the content property. All render the U+22FB glyph. You can also paste the character directly when your file is UTF-8.
U+22FB (hex 22FB, decimal 8955). It belongs to the Mathematical Operators block and is a contains-style set symbol with a vertical bar at the end of the horizontal stroke.
Yes. &xnis; is the HTML5 named reference for U+22FB. Numeric forms &#8955; and &#x22FB; also work. Do not confuse &xnis; with &ni; (U+220B), &nisd; (U+22FA), or &notnivc; (U+22FD).
Use it in set-theory or math pages that specifically need this contains variant. For plain “contains”, prefer U+220B (&ni;).
HTML entities (&xnis;, &#8955;, or &#x22FB;) go in markup. The CSS escape \22FB goes in stylesheet strings (usually content on ::before/::after).
U+22FB (&xnis;) has a vertical bar at the end of the horizontal stroke. U+220B (&ni;) is plain contains as member. U+22FA (&nisd;) has a long horizontal stroke. U+22FD (&notnivc;) has an overbar.

Did you know?

Contains with vertical bar at end of horizontal stroke is Unicode U+22FB (decimal 8955) — glyph ⋻ in the Mathematical Operators block. HTML named reference is &xnis;. It is a contains-style set symbol with a vertical bar at the end of the horizontal stroke — not plain contains as member (&ni; / U+220B).

Next: Contour Integral

Learn the HTML entity for contour integral (U+222E).

Contour Integral tutorial →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

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