=
Math

Equals Sign =

The equals sign indicates mathematical equality and is one of the most fundamental symbols in mathematics and programming. While it can be typed directly in HTML content, the entity form is useful in contexts where the equals sign might be misinterpreted, such as inside attribute values or template expressions.

All Representations

Named Entity
=
Decimal Code
=
Hex Code
=
Unicode
U+003D

Rendered Output

=

= renders as the character shown above

When to Use Equals Sign

Use the equals entity when the literal = character might cause parsing issues in HTML attributes, template engines, or URL query strings. In standard HTML text content, the equals sign can usually be typed directly. The entity form ensures unambiguous rendering in generated or templated content.

Try It — HTML Examples

Named entity in text
<p>Symbol: &equals;</p>
Decimal reference
<p>Symbol: &#61;</p>
Hex reference
<p>Symbol: &#x3D;</p>
Inside an HTML attribute
<div title="The Equals Sign: &equals;">Hover to see</div>

About the Equals Sign Entity

The Equals Sign character (=) is a standard HTML entity defined in the HTML specification. In HTML source code, it can be written using the named entity reference &equals;, the decimal numeric character reference &#61;, or the hexadecimal numeric reference &#x3D;. The character is assigned Unicode code point U+003D in the Universal Character Set.

The equals sign indicates mathematical equality and is one of the most fundamental symbols in mathematics and programming. While it can be typed directly in HTML content, the entity form is useful in contexts where the equals sign might be misinterpreted, such as inside attribute values or template expressions.

Mathematical HTML entities enable web authors to display proper mathematical notation without relying on images or specialized rendering libraries like MathJax or KaTeX. While complex equations and multi-line formulas may still benefit from dedicated math typesetting tools, individual symbols expressed as HTML entities render quickly, remain accessible to screen readers, and can be styled with CSS just like regular text content.

When deciding how to encode the Equals Sign character in your HTML documents, the named entity &equals; is generally the most readable choice for developers reviewing or maintaining source code. The decimal form &#61; and hexadecimal form &#x3D; are equally valid alternatives that work in contexts where named entities may not be supported, or when generating HTML output programmatically from server-side code. All three representations produce identical visual output in every modern web browser.

Use the equals entity when the literal = character might cause parsing issues in HTML attributes, template engines, or URL query strings. In standard HTML text content, the equals sign can usually be typed directly. The entity form ensures unambiguous rendering in generated or templated content.

Related Entities

Explore More HTML Entities

Browse our complete reference of 262 HTML entities with codes, examples, and usage tips.