HTML Entity for Equal To (=)

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

What Is Equal To?

Equal to (=) is the Unicode character at U+003D in Basic Latin. Official name: EQUALS SIGN. It marks ordinary equality in equations and comparisons, as in x = 5.

Remember
Character     =
Unicode       U+003D
Named entity  =
Hex entity    =
Decimal       =
CSS escape    \3D
Not the same  ≠ (ne) · ≡ (equiv) · ⩵ (Equal)

Prefer typing = in normal page text. Use =, =, or = when you want an explicit entity form.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character=HTML text (default choice)
Named entity=HTML markup
Hex entity=HTML markup
Decimal entity=HTML markup
CSS escape\3DStylesheet content

When to Use Which

SituationUse
Ordinary equalityType = or use =
Not equal toU+2260 (≠, ≠)
Identical / congruentU+2261 (≡, ≡)
Approximately equalApproximately equal to (≅)
Generated text via ::before / ::aftercontent: "\3D"

Live Preview

Equals sign rendered alone, in an equation, and compared with related operators.

Glyph =
Large glyph =
Equation 2 × 3 = 6
Compared =   ≠   ≡   ≅
With entities Named: = | Hex: = | Decimal: =

Complete HTML Example

One page that shows Equal To 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 display = in HTML and CSS.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Equal To (U+003D) in HTML</title>
  <style>
    #point::after {
      content: "\3D";
    }
  </style>
</head>
<body>
  <p>Built with Named: &equals;</p>
  <p>Built with Hex: &#x3D;</p>
  <p>Built with Decimal: &#61;</p>
  <p id="point">Built with CSS: </p>
  <p>Typed: =</p>
  <p>Equation: 2 &times; 3 &equals; 6</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &equals; is the HTML5 name for U+003D → =.

2. Hex: &#x3D; inserts the same code point. Same visual as named.

3. Decimal: same code point as 61 → &#61;.

4. CSS: use \3D in content (not an HTML entity). #point::after appends =.

5. Typed: press = on the keyboard in a UTF-8 document, or write an equation like 2 &times; 3 &equals; 6.

Pitfalls & Tips

Common mistakes when working with Equal To.

Type

Prefer typing =

In everyday HTML, type = directly. Use &equals; when you want the named form for clarity or tooling.

Name

&equals; ≠ &equal;

&equals; is U+003D. &equal; is U+2A75 (⩵, two consecutive equals) — a different character.

≠

Not &ne;

U+2260 means “not equal to.” Use &ne; for inequality, not =.

≡

Not identical-to

U+2261 (&equiv;) is a stronger / congruence relation, not ordinary equals.

CSS vs HTML

Do not mix escapes

\3D belongs in CSS strings. &equals; / &#x3D; / &#61; belong in HTML.

a11y

Keep equations readable

Screen readers usually announce = as “equals.” Keep surrounding numbers and words clear so the equation still makes sense aloud.

Semicolon

End references

Always finish entities with ; — write &equals;, not &equals.

Browser Support

Equal to (U+003D) and its entity forms (&equals;, &#x3D;, &#61;, CSS \\3D) are supported in all mainstream browsers. As a Basic Latin character, the glyph is available in essentially every text font.

✓ Universal support

Equal To (=)

Encode with typed character, named, hex, decimal, or CSS escape — 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+003D / &equals; Full support

Bottom line: Prefer typing = in HTML text. Use &equals; / &#x3D; / &#61; when an entity is required, and \\3D only inside CSS content.

Key Takeaways

  • Unicode: equal to is U+003D (decimal 61) — glyph =.
  • HTML: type =, or use &equals; / &#x3D; / &#61;.
  • CSS: use \3D inside content for generated text.
  • Meaning: = ≠ ne ≠ ≠ equiv ≡ ≠ Equal ⩵.

One line: U+003D → type = / &equals; / CSS \3D.

Frequently Asked Questions

Type = directly in UTF-8, or use &equals; (named), &#x3D; (hex), &#61; (decimal), or the CSS escape \3D in content.
U+003D (EQUALS SIGN). Hex 3D, decimal 61. It belongs to the Basic Latin block (U+0000–U+007F).
Yes. &equals; is the HTML5 named entity for U+003D. Typing = is still the simplest choice in everyday markup.
Use it for ordinary equality in math, equations, and comparisons (for example x = 5). Prefer &ne; for not equal, &equiv; for identical/congruent, and &Equal; only when you need U+2A75 (two consecutive equals).
HTML entities (&equals;, &#61;, or &#x3D;) go in markup. The CSS escape \3D goes in stylesheet strings (usually content on ::before/::after).
No. U+003D is = (equals). U+2260 is ≠ (not equal to). U+2261 is ≡ (identical to).

Did you know?

Equal to is Unicode U+003D (decimal 61) — glyph = (EQUALS SIGN) in Basic Latin. HTML5 names it &equals;. In normal text you can type = directly. Do not confuse it with &ne; (≠), &equiv; (≡), or &Equal; (⩵, two consecutive equals).

Next: Equal To By Definition

Learn the HTML entity for equal to by definition (U+225D).

Equal To By Definition 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