HTML Entity for Right Parenthesis ())

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

What You'll Learn

How to display the Right Parenthesis ()) in HTML using the named entity, hexadecimal, decimal, and CSS escape methods. This character is U+0029 (RIGHT PARENTHESIS) in the Basic Latin block (U+0000–U+007F)—the closing parenthesis used in equations, code, grouping, and everyday text.

Render it with ) (named), ), ), or CSS \29, or type ) directly in most HTML. Related: U+0028 ((, left parenthesis), U+005D (], right bracket / ]).

⚡ Quick Reference — Right Parenthesis

Unicode U+0029

Basic Latin (ASCII)

Hex Code )

Hexadecimal reference

HTML Code )

Decimal reference

Named Entity )

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+0029
Hex code       )
HTML code      )
Named entity   )
CSS code       \29
Meaning        Closing parenthesis
Related        U+0028 = left parenthesis (()
               U+005D = right bracket (])
1

Complete HTML Example

A simple example showing the Right Parenthesis ()) using the named entity, hexadecimal code, decimal HTML code, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\29";
  }
 </style>
</head>
<body>
<p>Symbol using Hexadecimal: &#x29;</p>
<p>Symbol using HTML Code: &#41;</p>
<p>Symbol using HTML Entity: &rpar;</p>
<p id="point">Symbol using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Right Parenthesis ()) is part of Basic Latin and renders in all modern browsers:

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

👀 Live Preview

See the Right Parenthesis ()) in math and technical contexts:

Function call f(x) = x + 1
Grouping (a + b) × c
Code snippet if (ready) { start(); }
Large glyph )
Punctuation comparison ( ) [ {
Entity refs &rpar; &#x29; &#41; \29

🧠 How It Works

1

Named HTML Entity

&rpar; is the named entity for the Right Parenthesis (closing parenthesis). It is easy to read in code and documentation markup.

HTML markup
2

Hexadecimal Code

&#x29; uses the Unicode hexadecimal value 29. The x prefix indicates hexadecimal format.

HTML markup
3

Decimal HTML Code

&#41; uses the decimal Unicode value 41 for the same symbol.

HTML markup
4

CSS Entity

\29 is used in CSS stylesheets in the content property of pseudo-elements like ::after.

CSS stylesheet
=

Same visual result

All four methods produce ). Unicode U+0029 is in Basic Latin. Previous: Right Paired Arrows (⇉). Next: Right Semidirect Product.

Use Cases

The Right Parenthesis ()) is commonly used in:

📐 Mathematics

Group terms in formulas, function arguments, and interval notation.

💻 Programming

Closing parentheses in function calls, conditions, and code examples.

📚 Technical docs

Document syntax where parentheses are part of the literal text.

📝 Text formatting

Parenthetical phrases, clarifications, and asides in prose.

🔒 Escaping

Encode ) in attributes or generated markup when escaping is required.

🗃 Entity reference

Teach named and numeric entity usage for basic ASCII punctuation.

💡 Best Practices

Do

  • Prefer &rpar; in HTML when using entities for readability
  • Type ) directly in normal HTML body text when escaping is not needed
  • Pair with ( (U+0028) when showing balanced parentheses
  • Set <meta charset="utf-8">
  • Keep one encoding style per project for consistency
  • Use <pre> and <code> for multi-line code samples with parentheses

Don’t

  • Confuse &rpar; (U+0029) with &rbrack; (U+005D, right square bracket)
  • Confuse &rpar; (U+0029) with &rbrace; (U+007D, right curly brace)
  • Use padded Unicode like U+00029—the correct value is U+0029
  • Use CSS \29 inside HTML text nodes
  • Over-escape ) in plain body text where a literal character is fine

Key Takeaways

1

Four ways to render U+0029 in web content

&rpar; &#x29; &#41;
2

For CSS, use \29 in the content property

3

Unicode U+0029 — RIGHT PARENTHESIS

4

Basic Latin block (U+0000–U+007F) — named entity &rpar;

❓ Frequently Asked Questions

Use &rpar; (named), &#x29; (hex), &#41; (decimal), or \29 in CSS content. All four methods render ) correctly.
U+0029 (RIGHT PARENTHESIS). Basic Latin block (U+0000–U+007F). Hex 29, decimal 41. The closing parenthesis used in code and math.
In mathematical expressions, programming syntax, function calls, text formatting, and any content that requires a literal closing parenthesis.
Named and numeric HTML references (&rpar;, &#41;, &#x29;) go in markup. The CSS escape \29 is used in stylesheets, typically on ::before or ::after. Both produce ).
Yes. &rpar; is the named HTML entity for U+0029. You can also use &#41; (decimal), &#x29; (hex), or \29 in CSS.

Explore More HTML Entities!

Discover 1500+ HTML character references — arrows, symbols, math operators, 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