HTML Entity for Precedes (≺)

Beginner
6 min read
Updated: Sep 2026
1 example
Unicode U+227A

What Is the Precedes Entity?

Precedes (≺) is the Mathematical Operators character at Unicode U+227A (PRECEDES). In order theory and logic it means “precedes” or “comes before” — a strict order relation, not the numeric less-than sign.

Remember
Character     ≺
Unicode       U+227A
Hex entity    ≺
Decimal       ≺
Named entity  ≺  (also ≺)
CSS escape    \227A
Not the same  ≻ · <

All of these produce the same glyph: ≺. Prefer &pr; in HTML source for clarity; use hex/decimal when generating entities, and CSS \227A only in content.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity&pr;HTML markup (best default)
Hex entity&#x227A;HTML markup
Decimal entity&#8826;HTML markup
CSS escape\227AStylesheet content
Direct character≺UTF-8 HTML text

When to Use Which

SituationUse
Readable order-relation HTML source&pr;
Need a numeric entity in HTML&#x227A; or &#8826;
Succeeds / “comes after”&sc; (≻)
Numeric less-than comparison&lt; (<)
Generated text via ::before / ::aftercontent: "\227A"

Live Preview

Precedes rendered in common math contexts.

Inline math a ≺ b
Large glyph ≺
Chain x ≺ y ≺ z
Compared ≺  |  ≻  |  <
With entities Hex: ≺ | Decimal: ≺ | Named: ≺

Complete HTML Example

One page that shows Precedes with the hex entity, decimal entity, named entity, and CSS escape. Use View Output or open the live editor.

Hex + Decimal + Named + CSS

All four ways to produce ≺ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Precedes (≺) in HTML</title>
  <style>
    #point::after {
      content: "\227A";
    }
  </style>
</head>
<body>
  <p>Precedes using Hex Code: a &#x227A; b</p>
  <p>Precedes using HTML Code: a &#8826; b</p>
  <p>Precedes using Named Entity: a &pr; b</p>
  <p id="point">Precedes using CSS Entity: a </p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+227A → &#x227A; in HTML. The browser turns it into ≺.

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

3. Named: &pr; is the HTML5 name for this character — easiest to read in source (aliases: &prec;).

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

Pitfalls & Tips

Common mistakes when working with the precedes symbol.

Named

Prefer &pr;

Named form is clearer than numeric codes in hand-written HTML. &prec; is an equivalent alias.

≻

Not succeeds

≻ is U+227B (&sc;) — the opposite order relation.

<

Not less-than

Use &lt; for numeric <. ≺ is a math order operator, not ASCII comparison.

CSS vs HTML

Do not mix escapes

\227A belongs in CSS. &pr; / &#x227A; / &#8826; belong in HTML.

Semicolon

End references

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

Fonts

Math Operators support

Use fonts that include U+227A (e.g. Cambria Math, Noto Sans Math) so the glyph is not missing.

Browser Support

Precedes (U+227A) and its entity forms (&pr;, &#x227A;, &#8826;, CSS \\227A) are supported in all mainstream browsers when the font includes Mathematical Operators.

✓ Universal support

Precedes (≺)

Use &pr;, or encode with hex, decimal, or CSS escape — same glyph everywhere fonts support it.

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+227A / entities Full support

Bottom line: Prefer &pr; in HTML for readability. Use &#x227A; or &#8826; when encoding must be numeric, and \\227A only inside CSS content.

Key Takeaways

  • Unicode: Precedes is U+227A (decimal 8826) — glyph ≺.
  • HTML: prefer &pr;, or use &#x227A; / &#8826;.
  • CSS: use \227A inside content for generated text.
  • Use case: order theory “precedes” — not ≻ and not &lt;.

One line: U+227A → &pr; / &#x227A; / &#8826; / CSS \227A.

Frequently Asked Questions

Use &pr; (named), &#x227A; (hex), &#8826; (decimal), or the CSS escape \227A in the content property. All render ≺. Aliases include &prec; and &Precedes;.
U+227A (PRECEDES). Hex 227A, decimal 8826. It belongs to the Mathematical Operators block.
Yes. &pr; is the common named HTML5 entity for ≺ (also &prec; / &Precedes;) and is supported in all modern browsers.
Use it in order theory, logic, and math when ≺ means “precedes” or “comes before.” Prefer &pr; for readable source. Use &lt; only for numeric less-than comparisons.
HTML entities (&pr;, &#8826;, or &#x227A;) go in markup. The CSS escape \227A is used in stylesheets (usually in the content property of ::before/::after). Both render ≺.
No. ≺ is precedes (U+227A). ≻ is succeeds (U+227B, &sc;). < is the less-than sign (U+003C, &lt;) — a different Basic Latin character.

Did you know?

Precedes is Unicode U+227A (decimal 8826) — glyph ≺. HTML5 provides &pr; (aliases include &prec; and &Precedes;). Prefer the named form for readable math markup. Distinct from succeeds ≻ (&sc;, U+227B) and less-than < (&lt;, U+003C).

Next: Precedes But Not Equivalent To

Learn the HTML entity for precedes but not equivalent to (U+22E8).

Precedes But Not Equivalent To 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