HTML Entity for Fraction 1 By 7 (⅐)

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

What You'll Learn

How to display the Fraction 1 By 7 symbol (⅐) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+2150 (VULGAR FRACTION ONE SEVENTH) in the Number Forms block (U+2150–U+218F)—a vulgar fraction representing 1⁄7 (one seventh).

Render it with ⅐, ⅐, or CSS escape \2150. There is no named HTML entity. Do not confuse ⅐ with one sixth (⅙, U+2159), one eighth (⅛, U+215B), or plain text 1/7.

⚡ Quick Reference — Fraction 1 By 7

Unicode U+2150

Number Forms

Hex Code ⅐

Hexadecimal reference

HTML Code ⅐

Decimal reference

Named Entity

Use numeric codes only

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2150
Hex code       ⅐
HTML code      ⅐
Named entity   (none)
CSS code       \2150
Meaning        Vulgar fraction one seventh (1/7)
Related        U+2159 = One sixth (⅙); U+215B = One eighth (⅛)
1

Complete HTML Example

This example demonstrates the Fraction 1 By 7 (⅐) using hexadecimal code, decimal HTML code, and a CSS content escape. There is no named HTML entity:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2150";
  }
 </style>
</head>
<body>
<p>Fraction 1 By 7 using Hexadecimal: &#x2150;</p>
<p>Fraction 1 By 7 using HTML Code: &#8528;</p>
<p id="point">Fraction 1 By 7 using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Fraction 1 By 7 is widely supported in modern browsers with a suitable font:

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

👀 Live Preview

See the vulgar fraction one seventh (⅐) in math and compared with related fraction glyphs:

Percentage ⅐ = 14.29%
Equation 7 × ⅐ = 1
Vulgar fractions ⅙ sixth   ⅐ seventh   ⅛ eighth
Large glyph
Numeric refs &#x2150; &#8528; \2150

🧠 How It Works

1

Hexadecimal Code

&#x2150; uses the Unicode hexadecimal value 2150 to display the Fraction 1 By 7. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

CSS Entity

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

CSS stylesheet
=

Same visual result

All three methods produce the glyph: . Unicode U+2150 is in Number Forms. No named HTML entity—use numeric codes in markup.

Use Cases

The Fraction 1 By 7 (⅐) is commonly used in:

📐 Mathematical notation

Equations, fractions, and math content that use the 1⁄7 (one seventh) value.

📚 Educational content

Textbooks, tutorials, and learning materials for fractions and number theory.

📊 Data display

Statistics, percentages, and data expressed as sevenths (⅐).

📝 Recipes & measurements

Content that uses vulgar fractions for precise typographic display.

💻 Math tools

Calculators and web apps that display fraction results.

🔤 Symbol references

Unicode tables and Number Forms glossaries.

💡 Best Practices

Do

  • Add aria-label="one seventh" when the symbol carries meaning
  • Use math-friendly fonts (Cambria Math, STIX Two Math) for clear fractions
  • Use the CSS escape in ::before / ::after for repeated markers
  • Keep hex or decimal encoding consistent within a project
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Confuse ⅐ (1⁄7) with ⅙ (one sixth) or ⅛ (one eighth)
  • Expect a named entity—none exists for U+2150
  • Put CSS escape \2150 in HTML text nodes
  • Use the glyph without context when plain 14.29% or 1/7 is clearer for readers
  • Skip cross-browser checks for rare punctuation glyphs

Key Takeaways

1

Two HTML numeric references plus CSS render ⅐

&#x2150; &#8528;
2

For CSS stylesheets, use the escape in the content property

\2150
3

Unicode U+2150 — VULGAR FRACTION ONE SEVENTH

4

Number Forms block (U+2150–U+218F)

5

Three methods, no named HTML entity

❓ Frequently Asked Questions

Use &#x2150; (hex), &#8528; (decimal), or \2150 in CSS content. There is no named entity.
U+2150 (VULGAR FRACTION ONE SEVENTH). Number Forms block (U+2150–U+218F). Hex 2150, decimal 8528. Represents one seventh (1⁄7).
In mathematical notation and fractions, educational content, recipes and measurements, data display and statistics, scientific content, and any content that requires the 1⁄7 fraction in a single character form.
HTML references (&#8528; or &#x2150;) go in markup. The CSS escape \2150 is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.
Named HTML entities cover a subset of common characters. Symbols in the Number Forms block like U+2150 use numeric codes (hexadecimal or decimal). This is standard practice for such symbols in HTML.

Explore More HTML Entities!

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