HTML Entity for Does Not Divide (∤)

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

What You'll Learn

How to display the Does Not Divide symbol (∤) in HTML using named, hexadecimal, decimal, and CSS entity methods. This character is U+2224 (DOES NOT DIVIDE) in the Mathematical Operators block (U+2200–U+22FF) and denotes that one integer does not divide another—the negation of “divides” (∣, ∣).

Render it with the named entity ∤, ∤, ∤, or CSS escape \2224. Do not confuse with Division (÷, ÷) or arithmetic slash notation.

⚡ Quick Reference — Does Not Divide

Unicode U+2224

Mathematical Operators block

Hex Code ∤

Hexadecimal reference

HTML Code ∤

Decimal reference

Named Entity ∤

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2224
Hex code       ∤
HTML code      ∤
Named entity   ∤
CSS code       \2224
1

Complete HTML Example

This example demonstrates the symbol (∤) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape on a pseudo-element:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2224";
  }
 </style>
</head>
<body>
<p>Using Hexadecimal: &#x2224;</p>
<p>Using HTML Code: &#8740;</p>
<p>Using Named Entity: &nmid;</p>
<p id="point">Using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

U+2224 is supported in modern browsers; use a font with Mathematical Operators coverage for consistent glyphs:

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

👀 Live Preview

See the Does Not Divide symbol (∤) in number-theory notation:

Divisibility 7 ∣ 21  •  5 ∤ 12
Example 3 ∤ 10   (3 does not divide 10)
Large glyph
vs related ∤ &nmid;   ∣ &mid;   ÷ &divide;
Monospace refs &nmid; &#x2224; &#8740; \2224

🧠 How It Works

1

Named Entity

&nmid; is the HTML named entity for Does Not Divide — readable and widely used in divisibility markup.

HTML markup
2

Hexadecimal Code

&#x2224; uses the Unicode hexadecimal value 2224. The x prefix indicates hexadecimal format.

HTML markup
3

Decimal HTML Code

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

HTML markup
4

CSS Entity

\2224 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+2224 negates divides (∣, &mid;). For ÷, see Division.

Use Cases

The symbol (∤) commonly appears in the following scenarios:

🔢 Number theory

When a ∤ b means a does not divide b (e.g. 5 ∤ 12).

📐 Math docs

Papers and proofs using correct divisibility Unicode symbols.

📚 Education

Courses teaching ∣ and ∤ in discrete math and algebra.

📝 Prime factorization

Divisibility rules and factorization exercises on the web.

📝 Formula pages

Web math notation needing the proper does-not-divide glyph.

📑 Entity guides

HTML entity references for education and research.

💡 Best Practices

Do

  • Use &nmid; for readable HTML source
  • Pair with Divides (&mid;, ∣) when teaching pairs
  • Use fonts that cover Mathematical Operators (U+2200–U+22FF)
  • Pair with text or ARIA (“does not divide”)
  • Pick one entity style per project for consistency

Don’t

  • Confuse ∤ (divisibility) with ÷ (division sign)
  • Swap &nmid; and &mid; (different meanings)
  • Use CSS escape \2224 inside HTML markup
  • Mix hex, decimal, and named styles randomly in one file
  • Rely on the symbol alone without accessible description

Key Takeaways

1

Three HTML references all render ∤

&#x2224; &#8740; &nmid;
2

For CSS stylesheets, use the escape in the content property

\2224
3

Unicode U+2224 is DOES NOT DIVIDE in number theory

4

Negation of ∣ divides (&mid;)

❓ Frequently Asked Questions

Use &nmid; (named), &#x2224; (hex), &#8740; (decimal), or \2224 in CSS content. All produce ∤.
U+2224 (hex 2224, decimal 8740) in the Mathematical Operators block. It means “does not divide” (negation of ∣).
In number theory, divisibility proofs, and any content that needs the relation “does not divide” (e.g. a ∤ b when a does not divide b).
∤ (U+2224, &nmid;) means does not divide. ∣ (U+2223, &mid;) means divides. They are negations of each other.
No. ∤ is a divisibility relation in number theory. ÷ (U+00F7, &divide;) is the obelus for arithmetic division (e.g. 12 ÷ 3 = 4).

Explore More HTML Entities!

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