HTML Entity for Contains Long Horizontal Stroke (⋺)
Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+22FA
Definition
What Is Contains Long Horizontal Stroke?
Contains with long horizontal stroke (⋺) is the Unicode character at U+22FA in the Mathematical Operators block. It is a contains-style set symbol with a long horizontal stroke — related to, but not the same as, plain contains as member (∋).
Remember
Character ⋺
Unicode U+22FA
Hex entity ⋺
Decimal ⋺
Named entity ⋺
CSS escape \22FA
Not the same ∋ U+220B · ⋾ U+22FD
All of these produce the same glyph: ⋺. Prefer ⋺ or a typed ⋺ in hand-written HTML; use numeric forms when generating markup.
Contains with long horizontal stroke rendered next to related contains symbols.
Inline mathA⋺x
Large glyph⋺
Compared⋺ ∋ ⋾
Monospaceset ⋺ el
With entitiesNamed: ⋺ | Hex: ⋺ | Decimal: ⋺
Code
Complete HTML Example
One page that shows Contains Long Horizontal Stroke 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 Long Horizontal Stroke (⋺) in HTML</title>
<style>
#point::after {
content: "\22FA";
}
</style>
</head>
<body>
<p>Contains long stroke using Named Entity: ⋺</p>
<p>Contains long stroke using Hex Code: ⋺</p>
<p>Contains long stroke using HTML Code: ⋺</p>
<p id="point">Contains long stroke using CSS Entity: </p>
<p>Typed directly: ⋺</p>
</body>
</html>
Contains long stroke using Named Entity: ⋺
Contains long stroke using Hex Code: ⋺
Contains long stroke using HTML Code: ⋺
Contains long stroke using CSS Entity: ⋺
Typed directly: ⋺
How It Works
1. Named:⋺ is the HTML5 named reference for U+22FA → ⋺.
2. Hex:U+22FA → ⋺ in HTML. Same glyph as the named form.
3. Decimal: same code point as 8954 → ⋺. Same result as hex.
4. CSS: use \22FA 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 Long Horizontal Stroke.
Named
⋺ ≠ ∋
⋺ is U+22FA (⋺). ∋ is U+220B (∋). Different symbols.
Variant
Not plain contains
Use ∋ for everyday contains-as-member. Use ⋺ only when the long-stroke form is required.
Overbar
Not contains overbar
⋾ (U+22FD) is a different contains variant. Pick the code point that matches your notation.
CSS vs HTML
Do not mix escapes
\22FA belongs in CSS. ⋺ / ⋺ / ⋺ belong in HTML.
Fonts
Math font coverage
Some fonts omit U+22FA. Prefer a font with Mathematical Operators coverage for display.
Semicolon
End references
Always finish with ; — write ⋺ and ⋺, not bare forms.
Compatibility
Browser Support
Contains with long horizontal stroke (U+22FA) and its entity forms (⋺, ⋺, ⋺, CSS \\22FA) are supported in all mainstream browsers. Visible glyphs depend on font coverage.
✓ Universal support
Contains Long Horizontal Stroke (⋺)
Encode with named, hex, decimal, CSS escape, or type the character — same glyph everywhere encoding is supported.
100%Browser coverage
Google ChromeSupported
Yes
Microsoft EdgeSupported
Yes
Mozilla FirefoxSupported
Yes
Apple SafariSupported
Yes
OperaSupported
Yes
Internet ExplorerAll versions
Yes
U+22FA / entitiesFull support
Bottom line: Prefer ⋺ or typed ⋺ in HTML. Use \\22FA only inside CSS content. Prefer ∋ / ∋ for plain contains-as-member.
Remember
Key Takeaways
Unicode: contains with long horizontal stroke is U+22FA (decimal 8954) — glyph ⋺.
HTML: use ⋺, ⋺, ⋺, or type ⋺.
CSS: use \22FA inside content for generated text.
Watch out:⋺ ≠ ∋ (⋺ ≠ ∋).
One line:U+22FA → ⋺ / ⋺ / CSS \22FA / type ⋺.
Frequently Asked Questions
Use ⋺ (hex), ⋺ (decimal), ⋺ (named), or the CSS escape \22FA in the content property. All render ⋺. You can also paste ⋺ directly when your file is UTF-8.
U+22FA (hex 22FA, decimal 8954). It belongs to the Mathematical Operators block and is a contains-style set symbol with a long horizontal stroke.
Yes. ⋺ is the HTML5 named reference for ⋺. Numeric forms ⋺ and ⋺ also work. Do not confuse ⋺ with ∋ (∋, U+220B).
Use it in set-theory or math pages that specifically need the long-horizontal-stroke contains glyph. For plain “contains”, prefer ∋ (U+220B / ∋).
HTML entities (⋺, ⋺, or ⋺) go in markup. The CSS escape \22FA goes in stylesheet strings (usually content on ::before/::after).
⋺ (U+22FA / ⋺) is contains with long horizontal stroke. ∋ (U+220B / ∋) is plain contains as member. ⋽ (U+22FD) is contains with overbar — a different variant.
🤔
Did you know?
Contains with long horizontal stroke is Unicode U+22FA (decimal 8954) — glyph ⋺ in the Mathematical Operators block. HTML named reference is ⋺. It is a contains-style membership symbol with a long horizontal stroke through it — not plain contains as member ∋ (U+220B / ∋).