HTML Entity for Right Triangle (⊿)

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

What You'll Learn

How to display the Right Triangle (⊿) in HTML using the named entity, hexadecimal, decimal, and CSS escape methods. This symbol is U+22BF (RIGHT TRIANGLE) in the Mathematical Operators block (U+2200–U+22FF)—a right-angled triangle glyph used in geometry, mathematics, and technical notation.

Render it with ⊿ (named), ⊿, ⊿, or CSS \22BF. Do not confuse ⊿ with U+25B3 (△, white up-pointing triangle) or U+2206 (∆, increment / Δ).

⚡ Quick Reference — Right Triangle

Unicode U+22BF

Mathematical Operators

Hex Code ⊿

Hexadecimal reference

HTML Code ⊿

Decimal reference

Named Entity ⊿

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+22BF
Hex code       ⊿
HTML code      ⊿
Named entity   ⊿
CSS code       \22BF
Meaning        Right triangle (right-angled triangle)
Related        U+25B3 = white up-pointing triangle (△)
               U+2206 = increment (∆ / Δ)
1

Complete HTML Example

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

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\22BF";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x22bf;</p>
<p>Symbol (decimal): &#8895;</p>
<p>Symbol (named): &lrtri;</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Right Triangle (⊿) is universally supported in all modern browsers when the font includes Mathematical Operators glyphs:

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

👀 Live Preview

See the Right Triangle (⊿) rendered live in different contexts:

Inline geometry A right triangle ⊿ has one 90° angle.
Large glyph
Math notation Area ⊿ = ½ × base × height
Triangle comparison △ ⊿ ∆
Named vs numeric &lrtri; &#x22BF; &#8895; \22BF
Educational Identify the ⊿ in triangle diagrams and proofs.

🧠 How It Works

1

Hexadecimal Code

&#x22BF; uses the Unicode hexadecimal value 22BF for the right triangle. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#8895; uses the decimal Unicode value 8895 to display the same character.

HTML markup
3

Named Entity

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

HTML markup
4

CSS Entity

\22BF 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+22BF is in the Mathematical Operators block. Previous: Right Tack Below.

Use Cases

The Right Triangle (⊿) is commonly used in:

📐 Geometry & Math

Mark right-angled triangles in equations, proofs, and geometric notation.

📚 Education

Display in online courses, worksheets, and interactive geometry lessons.

📄 Technical Documentation

Reference right triangles in engineering specs and scientific reports.

📚 Academic Papers

Typeset geometry and trigonometry content in HTML publications.

📊 Diagrams

Label right angles and triangle types in SVG-free HTML diagrams.

🔢 Math Editors

Support in web-based equation and geometry editors.

💡 Best Practices

Do

  • Use &lrtri; for readable source markup
  • Add aria-label or surrounding text for accessibility
  • Distinguish ⊿ (right triangle) from △ (white up-pointing triangle)
  • Verify your font supports Mathematical Operators (U+22BF)
  • Keep one entity style per project for consistency

Don’t

  • Confuse ⊿ (right triangle) with △ (general triangle glyph)
  • Confuse ⊿ with ∆ (increment / Delta)
  • Use CSS \22BF inside HTML text nodes
  • Assume all fonts render logic symbols identically
  • Mix entity styles randomly in one file
  • Use the symbol without explaining its logical meaning on first use

Key Takeaways

1

Four HTML references plus CSS all render ⊿

&#x22BF; &#8895; &lrtri;
2

For CSS, use \22BF in the content property

3

Unicode U+22BF — RIGHT TRIANGLE

4

Prefer &lrtri; for readability—it’s the named HTML entity

❓ Frequently Asked Questions

Use &#x22BF; (hex), &#8895; (decimal), &lrtri; (named), or \22BF in CSS content. All four methods render ⊿ correctly.
U+22BF (RIGHT TRIANGLE). Mathematical Operators block (U+2200–U+22FF). Hex 22BF, decimal 8895. A right-angled triangle symbol used in geometry.
In mathematical notation, geometry references, technical documentation, educational content, and scientific applications where a right-angled triangle symbol is needed.
HTML references (&#8895;, &#x22BF;, or &lrtri;) go in markup. The CSS escape \22BF is used in stylesheets, typically on ::before or ::after. Both produce ⊿.
Yes. &lrtri; is the named HTML entity for U+22BF. You can also use &#8895; (decimal) or &#x22BF; (hex) and \22BF 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