HTML Entity for Long Solidus Overlay (U+0338)

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

What Is the Long Solidus Overlay Entity?

Long Solidus Overlay is the combining mark at Unicode U+0338 (COMBINING LONG SOLIDUS OVERLAY). It draws a long diagonal slash through the preceding character — often used to negate math or logic symbols.

Remember
Mark          combining long solidus overlay
Unicode       U+0338
Hex entity    ̸
Decimal       ̸
Named entity  (none)
CSS escape    \0338
Order         base + mark  →  ≠

Combining marks are not standalone letters. Write the base character first, then the entity (e.g. ≠ → ≠). Prefer a precomposed form such as ≠ (≠) when one exists.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Hex entity̸HTML after the base character
Decimal entity̸HTML after the base character
Named entityNoneHTML5 does not define one
CSS escape\0338Stylesheet content (often ::after)
Direct characterbase + U+0338UTF-8 HTML text

When to Use Which

SituationUse
Readable numeric entity in HTMLbase̸
Decimal entity requiredbase̸
Generated overlay via ::aftercontent: "\0338" on an element that ends with the base
Common “not equal”Prefer ≠ (≠, U+2260) over ≠
Shorter slash overlayDifferent mark — see Short Solidus Overlay (U+0337)

Live Preview

Long Solidus Overlay combined with common bases (font-dependent).

Negated equals ≠
Not element of ∉ (or prefer ∉)
Large sample ↛
vs short overlay Long U+0338: ≠  |  Short U+0337: =̷
With entities ≠ | ≠

Complete HTML Example

One page that shows this combining mark with hex, decimal, and CSS after a base character. Use View Output or open the live editor.

Hex + Decimal + CSS

Three ways to attach U+0338 to a base (no named entity).

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Long Solidus Overlay (U+0338)</title>
  <style>
    #point::after {
      content: "\0338";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: =&#x0338;</p>
  <p>Using HTML Code: =&#824;</p>
  <p id="point">Using CSS Entity: =</p>
  <p>Combined: x &#x2208;&#x0338; A</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+0338 → &#x0338; after the base. The browser combines them into ≠.

2. Decimal: same code point as 824 → &#824;. Same result as hex.

3. Named: HTML5 does not define a named entity for this mark — use hex or decimal instead.

4. CSS: use \0338 in content (not an HTML entity). #point::after appends the slash through the trailing =.

Pitfalls & Tips

Common mistakes when working with Long Solidus Overlay.

Order

Base character first

Write =&#x0338;, not &#x0338;=. Combining marks follow the base.

Precomposed

Prefer dedicated symbols

For “not equal” use &ne; (≠). For “not element of” use &notin; (∉) when possible.

Named

No &…; name

Do not invent a name such as &longsolidusoverlay;. Use &#x0338; or &#824;.

Look-alikes

Not U+0337 or /

U+0337 is short solidus overlay. ASCII / (U+002F) is a normal character, not a combining mark.

CSS vs HTML

Do not mix escapes

\0338 belongs in CSS. &#x0338; / &#824; belong in HTML.

Semicolon

End references

Always finish with ; — write &#x0338;, not &#x0338.

Browser Support

Long Solidus Overlay (U+0338) and its entity forms (&#x0338;, &#824;, CSS \\0338) are supported in all modern browsers. Overlay alignment depends on the font.

✓ Universal encoding

Long Solidus Overlay (U+0338)

Encode with hex, decimal, or CSS escape — attach after the base for a diagonal negation slash. No named entity.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer IE 9+
Yes*
U+0338 Full support

Bottom line: Prefer base&#x0338; for readable HTML. Use \\0338 only inside CSS content. Prefer precomposed symbols when available.

Key Takeaways

  • Unicode: this combining mark is U+0338 (decimal 824).
  • HTML: prefer base&#x0338; — or use base&#824;. No named entity.
  • CSS: use \0338 inside content for generated overlays.
  • Watch out: base first; prefer precomposed &ne; / &notin; when available.

One line: U+0338 → base&#x0338; / base&#824; / CSS \0338 (no named entity).

Frequently Asked Questions

Use &#x0338; (hex), &#824; (decimal), or the CSS escape \0338 in the content property. Place the mark immediately after the base character (e.g. =&#x0338;). There is no named HTML entity.
U+0338 (COMBINING LONG SOLIDUS OVERLAY). Hex 0338, decimal 824. It belongs to the Combining Diacritical Marks block (U+0300–U+036F).
No. HTML5 does not define a named entity for U+0338. Use numeric references like &#x0338; or &#824;.
Use it to build negated math or logic symbols when no precomposed character exists. Always write the base first, then the overlay.
HTML entities (&#824; or &#x0338;) go in markup after the base. The CSS escape \0338 is used in stylesheets (usually in the content property of ::after). Both apply the same combining slash.
Prefer precomposed forms when available (e.g. &ne; for ≠, &notin; for ∉). Use U+0338 only when you need a custom negated base that has no dedicated code point.

Did you know?

Long Solidus Overlay is Unicode U+0338 (decimal 824) — COMBINING LONG SOLIDUS OVERLAY in Combining Diacritical Marks. HTML5 has no named entity. Place it after the base (e.g. =&#x0338; → ≠). Prefer a precomposed symbol such as &ne; (≠) when one exists.

Next: Long Stroke Overlay

Learn the HTML entity for Long Stroke Overlay — next in this sequence.

Continue tutorial →

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