HTML Entity for Right Parenthesis ())

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

What Is the Right Parenthesis Entity?

Right Parenthesis ()) is the Basic Latin character at Unicode U+0029 (RIGHT PARENTHESIS). It is the closing ) used in math, code, and everyday grouping.

Remember
Character     )
Unicode       U+0029
Hex entity    )
Decimal       )
Named entity  )
CSS escape    \29
Not the same  ( (() · ] (]) · } (})

All of these produce the same glyph: ). Type ) directly in UTF-8 HTML, or use ) when you want an explicit entity.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character)UTF-8 HTML text (usual default)
Named entity)HTML markup
Hex entity)HTML markup
Decimal entity)HTML markup
CSS escape\29Stylesheet content

When to Use Which

SituationUse
Normal page text (UTF-8)Type ) directly
Explicit entity in markup)
Need a numeric entity) or )
Generated text via ::before / ::aftercontent: "\29"
Opening parenthesisUse ( (U+0028)

Live Preview

Right Parenthesis in common math and text contexts.

Function call f(x) = x + 1
Large glyph )
Named entity ) → )
vs ( / ] )  |  (  |  ]
With entities Hex: ) | Decimal: ) | Named: )

Complete HTML Example

One page that shows this symbol with hex, decimal, named, and CSS. 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>Right Parenthesis ())</title>
  <style>
    #point::after {
      content: "\29";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x29;</p>
  <p>Using HTML Code: &#41;</p>
  <p>Using Named Entity: &rpar;</p>
  <p id="point">Using CSS Entity: </p>
  <p><code>f&lpar;x&rpar; = x + 1</code></p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+0029 → &#x29; in HTML. The browser turns it into ).

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

3. Named: &rpar; is the HTML5 name for this character.

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

Pitfalls & Tips

Common mistakes when working with Right Parenthesis.

Look-alikes

) ≠ ] ≠ }

&rpar; (parenthesis), &rbrack; (square bracket), and &rbrace; (curly brace) are different characters.

Pairing

Match with &lpar;

Opening is &lpar; / (. Closing is &rpar; / ).

Default

Typing ) is fine

) is Basic Latin and safe in UTF-8 HTML. Entities are optional for readability or generated output.

CSS vs HTML

Do not mix escapes

\29 belongs in CSS. &rpar; / &#x29; / &#41; belong in HTML.

A11y

Keep balanced pairs

Screen readers read parentheses as grouping. Keep matching open/close pairs in visible text.

Semicolon

End references

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

Browser Support

Right Parenthesis (U+0029) and its entity forms (&rpar;, &#x29;, &#41;, CSS \\29) are supported in all modern browsers. Glyph coverage is universal for Basic Latin.

✓ Universal encoding

Right Parenthesis ())

Encode with named, hex, decimal, or CSS escape — or type ) directly in UTF-8 HTML.

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+0029 / &rpar; Full support

Bottom line: Prefer typing ) in normal HTML. Use &rpar; when you want an explicit entity, and \\29 only inside CSS content.

Key Takeaways

  • Unicode: this symbol is U+0029 (decimal 41).
  • HTML: type ), or use &rpar; / &#x29; / &#41;.
  • CSS: use \29 inside content for generated text.
  • Watch out: &rpar; ≠ &rbrack; ≠ &rbrace;.

One line: U+0029 → ) / &rpar; / &#x29; / &#41; / CSS \29.

Frequently Asked Questions

Use &rpar; (named), &#x29; (hex), &#41; (decimal), or the CSS escape \29 in the content property. You can also type ) directly in UTF-8 HTML.
U+0029 (RIGHT PARENTHESIS). Hex 29, decimal 41. It belongs to the Basic Latin block (U+0000–U+007F).
Yes. &rpar; is the HTML5 named entity. You can also use &#x29; or &#41;. Do not confuse &rpar; with &rbrack; (]) or &rbrace; (}).
Use ) directly in normal text. Prefer &rpar; when you want an explicit closing-parenthesis entity in generated or entity-heavy markup.
HTML entities (&rpar;, &#41;, or &#x29;) go in markup. The CSS escape \29 is used in stylesheets (usually in the content property of ::before/::after). Both render ).
&lpar; is the left parenthesis (. &rbrack; is ]. &rbrace; is }. &rpar; is the closing parenthesis ).

Did you know?

Right Parenthesis is Unicode U+0029 (decimal 41) — RIGHT PARENTHESIS. HTML5 provides &rpar;. You can usually type ) directly in UTF-8 HTML. Prefer &rpar; when you want an explicit entity. Do not confuse it with &rbrack; (U+005D, ]) or &rbrace; (U+007D, }).

Next: Right Semidirect Product

Learn the HTML entity for Right Semidirect Product — next in this sequence.

Continue 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