HTML Entity for Not Parallel To (∦)

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

What You'll Learn

How to display the Not Parallel To symbol (∦) in HTML using named, hexadecimal, decimal, and CSS escape methods. This geometric relation operator states that two lines or objects are not parallel (e.g. line AB ∦ line CD).

This character is U+2226 (NOT PARALLEL TO) in the Mathematical Operators block (U+2200–U+22FF). Render it with the named entity ∦, ∦, ∦, or CSS escape \2226. Compare with the parallel symbol (∥, ∥, U+2225) and Equal Parallel To (⋕, ⋕).

⚡ Quick Reference — Not Parallel To

Unicode U+2226

Mathematical Operators

Hex Code ∦

Hexadecimal reference

HTML Code ∦

Decimal reference

Named Entity ∦

HTML5 named entity for U+2226

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2226
Hex code       ∦
HTML code      ∦
Named entity   ∦
CSS code       \2226
Meaning        Not parallel to
Related        U+2225 = parallel (∥, ∥)
               U+22D5 = equal and parallel (⋕, ⋕)
               U+22A5 = perpendicular (⊥, ⊥)
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: "\2226";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x2226;</p>
<p>Symbol (decimal): &#8742;</p>
<p>Symbol (named): &npar;</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

U+2226 is widely supported wherever Unicode Mathematical Operators render correctly:

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See ∦ in geometry and mathematical relation contexts:

Line relation ABCD means lines AB and CD are not parallel.
Large glyph
Parallel family ∥ parallel   ∦ not parallel   ⋕ equal and parallel
Example l1l2
Entity refs &npar; &#x2226; &#8742; \2226

🧠 How It Works

1

Named Entity

&npar; is the HTML named entity for U+2226—the most readable choice when writing geometry-relation markup.

HTML markup
2

Hexadecimal Code

&#x2226; uses the Unicode hexadecimal value 2226 to display the not-parallel symbol.

HTML markup
3

Decimal HTML Code

&#8742; uses the decimal Unicode value 8742 to display the same character.

HTML markup
4

CSS Entity

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

CSS stylesheet
=

Same visual result

All four methods produce: . Unicode U+2226 in Mathematical Operators (U+2200–U+22FF).

Use Cases

The ∦ symbol (&npar;) is commonly used in:

📐 Geometry

Expressing that two lines or planes are not parallel.

📚 Academia

Textbooks, papers, and lecture notes published as HTML.

⚙ Engineering

Technical drawings and specifications in web documentation.

💻 CS education

Computer graphics and geometry courses with web notation.

🎓 Online courses

Interactive math modules with web-based notation.

🌐 Reference guides

Unicode charts and HTML entity documentation for math symbols.

💡 Best Practices

Do

  • Use &npar; for readable geometry-relation markup
  • Distinguish ∦ from ∥ (parallel) and ⋕ (equal and parallel)
  • Pair ∦ with plain-language description on first use
  • Use numeric references in generated or XML-first workflows
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Confuse ∦ (&npar;) with ∥ (&par;)
  • Confuse ∦ with ⊥ (&perp;, perpendicular)
  • Use padded Unicode notation like U+02226—the correct value is U+2226
  • Put CSS escape \2226 in HTML text nodes
  • Use \02226 in CSS—the correct escape is \2226

Key Takeaways

1

Three HTML references plus CSS all render ∦

&#x2226; &#8742; &npar;
2

For CSS stylesheets, use the escape in the content property

\2226
3

Unicode U+2226 — NOT PARALLEL TO

4

Mathematical Operators block (U+2200–U+22FF)

5

&npar; is the preferred named entity for readable source markup

❓ Frequently Asked Questions

Use &npar; (named), &#x2226; (hex), &#8742; (decimal), or \2226 in CSS content. All produce ∦.
U+2226 (NOT PARALLEL TO). Mathematical Operators block (U+2200–U+22FF). Hex 2226, decimal 8742. Named entity: &npar;.
Use ∦ when your notation specifically means lines or objects are not parallel. Use ∥ (&par;, U+2225) for the parallel relation.
HTML references (&#8742;, &#x2226;, or &npar;) go directly in markup. The CSS escape \2226 is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.
Yes. &npar; is the named HTML entity for U+2226 and is the most readable option in source markup.

Explore More HTML Entities!

Discover 1500+ HTML character references — arrows, symbols, 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