HTML Entity for Z Notation Bag Membership (⋿)

Beginner
⏱️ 5 min read
📚 Updated: Aug 2025
🎯 1 Code Example
Unicode U+22FF

What You’ll Learn

How to display the Z notation bag membership symbol (⋿) in HTML using numeric character references and CSS escapes. This symbol expresses membership in a bag (multiset) in Z and related formal notations, and is useful for specifications, papers, and technical documentation.

This character is part of the Mathematical Operators Unicode block. There is no named HTML entity for ⋿, so you use hexadecimal or decimal numeric references in markup, or a CSS escape in the content property.

⚡ Quick Reference — Bag Membership Entity

Unicode U+22FF

Mathematical Operators block

Hex Code ⋿

Hexadecimal reference

HTML Code ⋿

Decimal reference

Named Entity

Use numeric references only

Reference Table
Name           Value
────────────   ──────────
Unicode        U+22FF
Hex code       ⋿
HTML code      ⋿
Named entity   — (none)
CSS code       \22FF
1

Complete HTML Example

This example shows the bag membership symbol (⋿) using hexadecimal code, decimal HTML code, and a CSS content escape on a pseudo-element:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\22FF";
  }
 </style>
</head>
<body>

<p>Bag membership using Hex: &#x22FF;</p>
<p>Bag membership using HTML Code: &#8959;</p>
<p id="point">Bag membership using CSS Entity: </p>

</body>
</html>
Try It Yourself

🌐 Browser Support

Numeric character references for U+22FF are supported in all modern browsers:

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

See the bag membership symbol in typical contexts (ensure a font that covers Mathematical Operators):

Inline text We write xB when x is a member of bag B.
Large glyph
With multiset idea Duplicates matter: a ⋿ { a, a, b } may record multiplicity in the surrounding theory.
Monospace member ⋿ Bag<T> // informal comment style

🧠 How It Works

1

Hexadecimal Code

&#x22FF; uses the Unicode code point in hex (22FF). The x prefix marks hexadecimal form.

HTML markup
2

Decimal HTML Code

&#8959; is the decimal equivalent (8959). Many authors use decimal or hex consistently across a project.

HTML markup
3

CSS Entity

\22FF appears in CSS, often in the content property of ::before / ::after.

CSS stylesheet
4

No Named Entity

Unlike symbols such as &veebar; for XOR, ⋿ has no standard named entity in HTML. Numeric references are the correct approach.

HTML markup
=

Same visual result

Hex, decimal, and CSS methods all produce . The code point U+22FF is Z notation bag membership in the Mathematical Operators range.

Use Cases

The bag membership symbol (⋿) often appears in these scenarios:

📋 Formal Specification

Z schemas and related notations describing bags and multiset constraints.

📄 Technical Documentation

API or data-model docs where multiset membership must be written precisely.

🎓 Academic Papers

Formal methods, discrete mathematics, and software engineering publications.

🔬 Mathematical Content

Web pages explaining multisets, counts, and membership distinct from ordinary sets.

💻 Design Documents

Architecture write-ups that borrow Z-style notation for clarity.

📚 Education

Tutorials teaching Z notation or formal reasoning on the web.

💡 Best Practices

Do

  • Use fonts with good Mathematical Operators coverage (e.g. Cambria Math, STIX, system Unicode fonts)
  • Stick to one numeric style (hex or decimal) per project
  • Add title or aria-label when the symbol stands alone
  • Explain ⋿ on first use for readers new to Z notation

Don’t

  • Assume every body font renders ⋿ legibly
  • Mix random entity styles in one file
  • Use the CSS escape \22FF inside HTML text nodes
  • Use HTML entities in JavaScript strings (prefer \u22FF there)

Key Takeaways

1

Two HTML numeric references render ⋿

&#x22FF; &#8959;
2

In CSS, use \22FF inside content (and similar) rules

\22FF
3

Unicode U+22FF is Z notation bag membership in the Mathematical Operators block

4

There is no standard named HTML entity for this symbol

5

Pair the glyph with plain language the first time it appears on a page

❓ Frequently Asked Questions

Use &#x22FF; (hex), &#8959; (decimal), or \22FF in CSS content. All render ⋿. There is no standard named entity.
U+22FF (hex 22FF, decimal 8959). It denotes bag membership and lives in the Mathematical Operators block.
In formal specifications, Z notation materials, academic writing on formal methods, software design documents, and educational content about multisets or bags.
HTML numeric references (&#8959; or &#x22FF;) belong in markup. The CSS escape \22FF belongs in stylesheets, typically in content on pseudo-elements. Same glyph, different layers.
Named entities cover a limited set of characters. Specialized math operators usually rely on numeric references, which is expected for Unicode symbols like ⋿.

Explore More HTML Entities!

Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, and more.

All HTML Entities →

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