HTML Entity for Bowtie (⋈)

What You'll Learn
How to display the Bowtie (⋈) in HTML using various entity methods. This character is part of the Mathematical Operators Unicode block (U+22C8), approved in Unicode 1.1 (1993). In database theory and relational algebra it represents the natural join operator—combining rows from two relations on matching attribute names. In LaTeX it is written as \bowtie.
The symbol can be rendered with a hexadecimal reference, a decimal reference, the named entity ⋈, or a CSS escape in the content property. It appears in SQL tutorials, database documentation, CS coursework, and math notation.
⚡ Quick Reference — Bowtie Entity
U+22C8Mathematical Operators block
⋈Hexadecimal reference
⋈Decimal reference
⋈Most readable option
Name Value
──────────── ──────────
Unicode U+22C8
Hex code ⋈
HTML code ⋈
Named entity ⋈
CSS code \22C8Complete HTML Example
This example demonstrates the Bowtie (⋈) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape on a pseudo-element:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\22C8";
}
</style>
</head>
<body>
<p>Bowtie using Hexa Decimal: ⋈</p>
<p>Bowtie using HTML Code: ⋈</p>
<p>Bowtie using HTML Entity: ⋈</p>
<p id="point">Bowtie using CSS Entity: </p>
</body>
</html>🌐 Browser Support
The Bowtie entity is universally supported in all modern browsers:
👀 Live Preview
See the Bowtie symbol rendered live in different contexts:
⋈ corresponds to LaTeX \bowtie for ⋈🧠 How It Works
Hexadecimal Code
⋈ uses the Unicode hexadecimal value 22C8 to display the Bowtie symbol. The x prefix indicates hexadecimal format.
Decimal HTML Code
⋈ uses the decimal Unicode value 8904 to display the same character. This is one of the most commonly used methods.
Named HTML Entity
⋈ is the semantic named entity—the easiest to read in source HTML and corresponds to LaTeX \bowtie.
CSS Entity
\22C8 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
Same visual result
All four methods produce the Bowtie glyph: ⋈. Unicode U+22C8 sits in the Mathematical Operators block (U+2200–U+22FF) and denotes natural join in relational algebra.
Use Cases
The Bowtie (⋈) commonly appears in the following scenarios:
Natural join operator notation in database theory and formal query languages.
SQL tutorials, query documentation, and relational model explanations.
Mathematical expressions, set theory, and formal logic where bowtie is used.
Computer science courses, database textbooks, and CS education sites.
Creative layouts, fashion themes, and decorative symbol usage.
API docs, database schema docs, and developer documentation.
Pair ⋈ with text or aria-label (e.g. “Natural join” or “Bowtie operator”).
💡 Best Practices
Do
- Use
⋈for readable source markup - Explain ⋈ as natural join when writing database or SQL content
- Pick one style (hex / decimal / named) per project
- Add
aria-labelfor standalone operator symbols - Test the glyph across browsers and math-friendly fonts
Don’t
- Mix entity styles randomly in one file
- Assume all fonts render ⋈ correctly
- Use CSS escape
\22C8inside HTML text nodes - Confuse ⋈ (natural join) with ⋉ (left natural join) or ⋊ (right natural join)
- Rely on the symbol alone without explanatory text on first use
Key Takeaways
Three HTML references all render ⋈
⋈ ⋈ ⋈For CSS stylesheets, use the escape in the content property
\22C8Unicode U+22C8 belongs to the Mathematical Operators block (U+2200–U+22FF)
Prefer ⋈ for readability—matches LaTeX \bowtie
In relational algebra, ⋈ denotes natural join on common attribute names
❓ Frequently Asked Questions
⋈ (hex), ⋈ (decimal), ⋈ (named), or \22C8 in CSS content. All produce ⋈.U+22C8 (hex 22C8, decimal 8904). Mathematical Operators block. The symbol represents the natural join operator in relational algebra.⋈, ⋈, or ⋈) go directly in markup. The CSS escape \22C8 is used in stylesheets, typically in the content property of ::before or ::after. Same visual result, different layers of the stack.⋈ is the named HTML entity for ⋈. You can also use ⋈ (decimal) or ⋈ (hex).Explore More HTML Entities!
Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, and more.
8 people found this page helpful
