HTML Entity for Plus (+)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+002B

What You'll Learn

How to display the plus sign (+) in HTML using various entity methods. The plus symbol denotes addition, positive values, and “add” actions in math, UI labels, and technical content.

This character is part of the Basic Latin Unicode block and can be rendered with a hexadecimal reference, a decimal reference, the named entity +, or a CSS escape in the content property. In UTF-8 HTML you can also type + directly—entities remain useful for clarity and consistency in documentation.

⚡ Quick Reference — Plus Entity

Unicode U+002B

Basic Latin block

Hex Code +

Hexadecimal reference

HTML Code +

Decimal reference

Named Entity +

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+002B
Hex code       +
HTML code      +
Named entity   +
CSS code       \2B
Meaning        Plus sign (addition)
Related        U+00B1 = plus-minus (±)
               U+2212 = minus sign (−)
Block          Basic Latin (U+0000–U+007F)
1

Complete HTML Example

A simple example showing + using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\2B";
  }
 </style>
</head>
<body>
<p>Plus (hex): &#x2B;</p>
<p>Plus (decimal): &#43;</p>
<p>Plus (named): &plus;</p>
<p id="point">Plus (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The plus entity is universally supported in all modern browsers:

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

See the plus sign rendered live in different contexts:

Inline text 2 + 2 = 4
Large glyph +
UI label Add item +
Positive value Temperature: +5°C
Entity refs &#x2B; &#43; &plus; \2B

🧠 How It Works

1

Hexadecimal Code

&#x2B; uses the Unicode hexadecimal value 2B to display the plus sign. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#43; uses the decimal Unicode value 43 to display the same character. This is one of the most commonly used methods.

HTML markup
3

CSS Entity

\2B is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
4

Named Entity

&plus; is the semantic named entity — the easiest to read in source HTML and the most self-descriptive option.

HTML markup
=

Same visual result

All four methods produce the plus glyph: +. Unicode U+002B sits in the Basic Latin block (U+0000–U+007F).

Use Cases

The plus sign (+) commonly appears in the following scenarios:

📐 Math Expressions

Addition formulas, arithmetic examples, and educational math content.

💻 UI Labels

“Add” buttons, expand controls, and positive-action affordances.

📄 Documentation

Entity reference pages and tutorials showing explicit plus markup.

🌡 Positive Values

Temperature, profit/loss, and signed numeric displays (+5, +10%).

📝 Technical Writing

Syntax guides where + denotes optional or combined parameters.

📋 XML / XHTML

Explicit entities in strict markup where clarity matters.

♿ Accessibility

Pair icon-only + buttons with visible text or aria-label.

💡 Best Practices

Do

  • Use &plus; for readable source markup in tutorials
  • Pick one style (hex / decimal / named) per project
  • Add aria-label on icon-only + buttons
  • Use CSS \2B in ::before for generated plus icons
  • Set <meta charset="utf-8"> when typing + directly

Don’t

  • Confuse + (U+002B) with ± (U+00B1, plus-minus)
  • Use CSS escape \2B inside HTML text nodes
  • Use HTML entities in JS (use \u002B or '+')
  • Rely on + alone as the only label on an add button
  • Mix entity styles randomly in one file

Key Takeaways

1

Three HTML references all render +

&#x2B; &#43; &plus;
2

For CSS stylesheets, use the escape in the content property

\2B
3

Unicode U+002B belongs to the Basic Latin block (U+0000–U+007F)

4

Prefer &plus; for readability—or type + directly in UTF-8 HTML

❓ Frequently Asked Questions

Use &#x2B; (hex), &#43; (decimal), &plus; (named), or \2B in CSS content. You can also type + directly in UTF-8 HTML.
U+002B (hex 2B, decimal 43). It denotes addition in the Basic Latin block.
For explicit markup clarity, XML/XHTML compatibility, documentation examples, CSS-generated content, or when you want self-describing source with &plus;.
HTML entities (&#43; or &plus;) go directly in markup. The CSS escape \2B is used in stylesheets, typically in the content property of ::before or ::after. Same visual result, different layers of the stack.
Yes. &plus;, &#43;, and &#x2B; are equivalent in modern browsers and all render +.

Explore More HTML Entities!

Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, and more.

All HTML Entities →

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