HTML Entity for Does Not Divide (∤)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+2224

What Is Does Not Divide?

Does not divide (∤) is the Unicode character at U+2224 in the Mathematical Operators block. Official name: DOES NOT DIVIDE. In number theory, a ∤ b means a does not divide b.

Remember
Character     ∤
Unicode       U+2224
Named entity  ∤
Hex entity    ∤
Decimal       ∤
CSS escape    \2224
Not the same  ∣ · ÷ · |

Prefer ∤ in HTML markup (aliases: ∤, ∤). You can also type ∤ in UTF-8, or use numeric forms when needed.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity∤HTML markup (preferred)
Direct character∤HTML text (UTF-8)
Hex entity∤HTML markup
Decimal entity∤HTML markup
CSS escape\2224Stylesheet content

When to Use Which

SituationUse
Does not divide (a ∤ b)∤ or type ∤
Divides (positive)∣ / ∣
Arithmetic division (quotient)÷ / ÷
Programming / separator pipeType | (U+007C)
Generated text via ::before / ::aftercontent: "\2224"

Live Preview

Does not divide rendered in common number-theory contexts.

Example 5 ∤ 12
Large glyph ∤
Compared ∣   ∤   ÷   |
With entities Named: ∤ | Hex: ∤ | Decimal: ∤

Complete HTML Example

One page that shows Does Not Divide with named, hex, decimal, CSS escape, and a typed character. Use View Output or open the live editor.

Named + Hex + Decimal + CSS + Typed

Five ways to produce ∤, plus a divisibility example.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Does Not Divide (∤) in HTML</title>
  <style>
    #point::after {
      content: "\2224";
    }
  </style>
</head>
<body>
  <p>Symbol using Named Entity: &nmid;</p>
  <p>Symbol using Hex Code: &#x2224;</p>
  <p>Symbol using HTML Code: &#8740;</p>
  <p id="point">Symbol using CSS Entity: </p>
  <p>Typed directly: ∤</p>
  <p>Example: 5 &nmid; 12 means 5 does not divide 12. Positive uses &mid;.</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &nmid; is the HTML5 name for U+2224 → ∤. Best default in markup.

2. Hex: U+2224 → &#x2224; in HTML. Same glyph as the named form.

3. Decimal: same code point as 8740 → &#8740;. Same result as hex and named.

4. CSS: use \2224 in content (not an HTML entity). #point::after appends that ∤ after the paragraph text.

5. Typed / example: paste ∤ in UTF-8, or write 5 &nmid; 12. The positive form is &mid; (∣).

Pitfalls & Tips

Common mistakes when working with Does Not Divide.

∣

Positive vs negation

Use &mid; (∣) when a divides b. Use &nmid; (∤) when it does not.

÷

Not the division sign

÷ (&divide;) is an arithmetic operator. ∤ is a divisibility relation.

|

Not the ASCII pipe

Use | for code or separators. For math “does not divide,” use &nmid;.

CSS vs HTML

Do not mix escapes

\2224 belongs in CSS strings. &nmid; / &#x2224; / &#8740; belong in HTML.

Fonts

Math font coverage

Some fonts omit U+2224. Prefer a font with Mathematical Operators coverage for display.

Semicolon

End references

Always finish with ; — write &nmid;, not &nmid.

Browser Support

Does not divide (U+2224) and its entity forms (&nmid;, &#x2224;, &#8740;, CSS \\2224) are supported in all mainstream browsers. Visible glyphs depend on math font coverage.

✓ Universal support

Does Not Divide (∤)

Encode with named, hex, decimal, CSS escape, or type the character — same code point everywhere encoding is supported.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+2224 / entities Full support

Bottom line: Prefer &nmid; in HTML. Use &#x2224; or &#8740; when numeric form is required, and \\2224 only inside CSS content.

Key Takeaways

  • Unicode: does not divide is U+2224 (decimal 8740) — glyph ∤.
  • HTML: prefer &nmid;, or use &#x2224; / &#8740; / type ∤.
  • CSS: use \2224 inside content for generated text.
  • Meaning: ∤ = does not divide — not ∣, ÷, or |.

One line: U+2224 → &nmid; / &#x2224; / &#8740; / CSS \2224 / type ∤.

Frequently Asked Questions

Use &nmid; (named), &#x2224; (hex), &#8740; (decimal), type ∤ directly in UTF-8, or the CSS escape \2224 in content. Prefer &nmid; in normal HTML.
U+2224 (DOES NOT DIVIDE). Hex 2224, decimal 8740. It belongs to the Mathematical Operators block (U+2200–U+22FF).
Yes. Use &nmid; (preferred), or aliases &NotVerticalBar; and &nshortmid;. Numeric forms &#8740; and &#x2224; also work.
Use it in number theory when a does not divide b, for example 5 ∤ 12. For the positive relation, use U+2223 (&mid;).
HTML entities (&nmid;, &#8740;, or &#x2224;) go in markup. The CSS escape \2224 goes in stylesheet strings (usually content on ::before/::after).
No. &nmid; is U+2224 (does not divide). The ASCII pipe | is U+007C. The division sign ÷ is U+00F7 (&divide;). Divides is U+2223 (&mid;).

Did you know?

Does not divide is Unicode U+2224 (decimal 8740) — glyph ∤ in the Mathematical Operators block. HTML5 names it &nmid; (also &NotVerticalBar;, &nshortmid;). It is the negation of divides ∣ (&mid;). Do not confuse with the division sign ÷ (&divide;).

Next: Does Not Exist

Learn the HTML entity for does not exist (U+2204).

Does Not Exist tutorial →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

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