HTML Entity for Pitchfork (⋔)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+22D4

What You'll Learn

How to display the Pitchfork symbol (⋔) in HTML using various entity methods. The pitchfork (fork) is a mathematical relation operator used in set theory, formal logic, and academic notation—not to be confused with everyday tool imagery.

This character is part of the Mathematical Operators Unicode block and can be rendered with a hexadecimal reference, a decimal reference, the named entity ⋔, or a CSS escape in the content property.

⚡ Quick Reference — Pitchfork Entity

Unicode U+22D4

Mathematical Operators block

Hex Code ⋔

Hexadecimal reference

HTML Code ⋔

Decimal reference

Named Entity ⋔

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+22D4
Hex code       ⋔
HTML code      ⋔
Named entity   ⋔
CSS code       \22D4
Meaning        Pitchfork (mathematical relation)
Block          Mathematical Operators (U+2200–U+22FF)
1

Complete HTML Example

A simple example showing ⋔ using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\22D4";
  }
 </style>
</head>
<body>
<p>Pitchfork (hex): &#x22D4;</p>
<p>Pitchfork (decimal): &#8916;</p>
<p>Pitchfork (named): &fork;</p>
<p id="point">Pitchfork (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Pitchfork entity is universally 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 Pitchfork symbol rendered live in different contexts:

Inline text The relation xy holds when the pitchfork condition is satisfied.
Large glyph
In a formula ABC
Monospace x ⋔ y → relation holds
Entity refs &#x22D4; &#8916; &fork; \22D4

🧠 How It Works

1

Hexadecimal Code

&#x22D4; uses the Unicode hexadecimal value 22D4 to display the pitchfork symbol. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#8916; uses the decimal Unicode value 8916 to display the same character. This is one of the most commonly used methods.

HTML markup
3

CSS Entity

\22D4 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
4

Named Entity

&fork; is the semantic named entity — the easiest to read in source HTML and the most self-descriptive option.

HTML markup
=

Same visual result

All four methods produce the pitchfork glyph: . Unicode U+22D4 sits in the Mathematical Operators block (U+2200–U+22FF).

Use Cases

The Pitchfork symbol (⋔) commonly appears in the following scenarios:

📐 Set Theory

Formal relations and neighborhood-style notation in mathematical texts.

📄 Academic Papers

Research articles, theses, and lecture notes requiring precise operator symbols.

🧮 Formal Logic

Logic and proof documentation where relation operators must render correctly.

💻 Math Documentation

Online math references, wikis, and educational content on operators.

📋 Unicode References

Character tables, entity pickers, and Mathematical Operators guides.

📝 Technical Articles

Blog posts and tutorials explaining mathematical relations and notation.

♿ Accessibility

Pair ⋔ with plain-language explanations on first use in educational content.

💡 Best Practices

Do

  • Use &fork; for readable source markup
  • Pick one style (hex / decimal / named) per project
  • Add explanatory text when introducing ⋔ in educational content
  • Test the glyph across browsers and math-friendly fonts
  • Use MathML or LaTeX for complex multi-line formulas when appropriate

Don’t

  • Confuse ⋔ (pitchfork relation) with agricultural tool imagery
  • Mix entity styles randomly in one file
  • Use CSS escape \22D4 inside HTML text nodes
  • Use HTML entities in JS (use \u22D4 instead)
  • Assume all fonts render ⋔ with identical spacing in formulas

Key Takeaways

1

Three HTML references all render ⋔

&#x22D4; &#8916; &fork;
2

For CSS stylesheets, use the escape in the content property

\22D4
3

Unicode U+22D4 belongs to the Mathematical Operators block (U+2200–U+22FF)

4

Prefer &fork; for readability—it’s the most self-descriptive named entity

❓ Frequently Asked Questions

Use &#x22D4; (hex), &#8916; (decimal), &fork; (named), or \22D4 in CSS content. All produce ⋔.
U+22D4 (hex 22D4, decimal 8916). It denotes the pitchfork relation operator in the Mathematical Operators block.
In mathematical notation, set theory, formal logic, academic papers, research documentation, and any content requiring the pitchfork relation symbol.
HTML entities (&#8916; or &fork;) go directly in markup. The CSS escape \22D4 is used in stylesheets, typically in the content property of ::before or ::after. Same visual result, different layers of the stack.
Yes. &fork;, &#8916;, and &#x22D4; are equivalent in modern browsers and all render ⋔.

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