HTML Entity for Contains Overbar (⋽)

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

What Is Contains Overbar?

Contains with overbar (⋽) is the Unicode character at U+22FD in the Mathematical Operators block. It is a contains-style set symbol with an overbar — related to, but not the same as, plain contains as member (∋).

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

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\22FDStylesheet content

When to Use Which

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

Live Preview

Contains with overbar 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 Contains Overbar 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 Overbar (⋽) in HTML</title>
  <style>
    #point::after {
      content: "\22FD";
    }
  </style>
</head>
<body>
  <p>Contains overbar using Named Entity: &notnivc;</p>
  <p>Contains overbar using Hex Code: &#x22FD;</p>
  <p>Contains overbar using HTML Code: &#8957;</p>
  <p id="point">Contains overbar using CSS Entity: </p>
  <p>Typed directly: ⋽</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &notnivc; is the HTML5 named reference for U+22FD → ⋽.

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

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

4. CSS: use \22FD 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 Contains Overbar.

Named

&notnivc; ≠ &ni;

&notnivc; is U+22FD. &ni; is U+220B. Different symbols — do not swap them.

Variant

Not plain contains

Use ∋ for everyday contains-as-member. Use ⋽ only when the overbar form is required.

nisd

Not long horizontal stroke

&nisd; (U+22FA) is another contains variant. Pick the code point that matches your notation.

CSS vs HTML

Do not mix escapes

\22FD belongs in CSS. &notnivc; / &#x22FD; / &#8957; belong in HTML.

Fonts

Math font coverage

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

Semicolon

End references

Always finish with ; — write &notnivc; and &#8957;, not bare forms.

Browser Support

Contains with overbar (U+22FD) and its entity forms (&notnivc;, &#x22FD;, &#8957;, CSS \\22FD) are supported in all mainstream browsers. Visible glyphs depend on font coverage.

✓ Universal support

Contains Overbar (&#x22FD;)

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+22FD / entities Full support

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

Key Takeaways

  • Unicode: contains with overbar is U+22FD (decimal 8957) — glyph ⋽.
  • HTML: use &notnivc;, &#x22FD;, &#8957;, or type ⋽.
  • CSS: use \22FD inside content for generated text.
  • Watch out: &notnivc; ≠ &ni; ≠ &nisd;.

One line: U+22FD → &notnivc; / &#8957; / CSS \22FD / type ⋽.

Frequently Asked Questions

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

Did you know?

Contains with overbar is Unicode U+22FD (decimal 8957) — glyph ⋽ in the Mathematical Operators block. HTML named reference is &notnivc;. It is a contains-style set symbol with an overbar — not plain contains as member ∋ (U+220B / &ni;) and not &nisd; (U+22FA).

Next: Contains Vertical Bar At End Horizontal Stroke

Learn the HTML entity for contains with vertical bar at end of horizontal stroke (U+22FB).

Next contains variant 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