HTML Entity for Fraction Slash (⁄)

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

What Is Fraction Slash?

Fraction slash (⁄) is the Unicode character at U+2044 in General Punctuation. Official name: FRACTION SLASH. Place it between digits to compose a fraction — for example 1⁄2 or 3⁄4.

Remember
Character     ⁄
Unicode       U+2044
Named entity  ⁄
Hex entity    ⁄
Decimal       ⁄
CSS escape    \2044
Meaning       separator for composing fractions
Not the same  / (solidus U+002F) · ½ (precomposed 1/2)

Prefer ⁄ in HTML for readable markup. You can also use ⁄, ⁄, or type ⁄ in a UTF-8 document.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity⁄HTML markup (preferred)
Hex entity⁄HTML markup
Decimal entity⁄HTML markup
Direct character⁄HTML text (UTF-8)
CSS escape\2044Stylesheet content

When to Use Which

SituationUse
Compose a custom fraction1⁄2 → 1⁄2
Common vulgar fraction existsPrefer precomposed forms like ½ (½)
URL paths / file paths / codeASCII solidus / (U+002F)
Division operator in mathDivision slash (∕)
Generated text via ::before / ::aftercontent: "\2044"

Live Preview

Slash alone, in composed fractions, and next to related forms.

Glyph ⁄
Large glyph ⁄
Sample Recipe: 1⁄2 cup flour
Compared 1⁄2   1/2   ½   3⁄4
With entities Named: ⁄ | Hex: ⁄ | Decimal: ⁄

Complete HTML Example

One page that shows fraction slash with named, hex, decimal, CSS escape, and typed forms — including composed fractions. Use View Output or open the live editor.

Named + Hex + Decimal + CSS + Typed

Five ways to display ⁄ and build fractions in HTML and CSS.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Fraction Slash (U+2044) in HTML</title>
  <style>
    #point::after {
      content: "\2044";
    }
  </style>
</head>
<body>
  <p>Built with Named: &frasl;</p>
  <p>Built with Hex: &#x2044;</p>
  <p>Built with Decimal: &#8260;</p>
  <p id="point">Built with CSS: </p>
  <p>Typed: ⁄</p>
  <p>Half: <span aria-label="one half">1&frasl;2</span></p>
  <p>Three quarters: 3&frasl;4</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &frasl; is the HTML5 name for U+2044 → ⁄.

2. Hex: &#x2044; inserts the same code point by hexadecimal value.

3. Decimal: same code point as 8260 → &#8260;. Same visual as named/hex.

4. CSS: use \2044 in content (not an HTML entity). #point::after appends ⁄.

5. Compose: write digits around the slash — 1&frasl;2 renders as 1⁄2. Prefer &frac12; when you want the single precomposed half glyph.

Pitfalls & Tips

Common mistakes when working with fraction slash.

Name

Prefer &frasl;

The named entity is clear and standard. Avoid inventing names like &fractionslash;.

/

Not ASCII solidus

Typing / inserts U+002F. Fraction slash is a different character meant for typographic fractions.

½

Prefer precomposed when available

For 1/2, 1/4, 3/4, and similar, prefer dedicated entities like &frac12;. Use ⁄ for custom ratios.

Font

Kerning may vary

Some fonts tighten digits around ⁄ into a fraction look; others leave more space. Check your font if the layout matters.

CSS vs HTML

Do not mix escapes

\2044 belongs in CSS strings. &frasl; / &#x2044; / &#8260; belong in HTML.

a11y

Add accessible text

Screen readers may not announce composed 1⁄2 clearly. Prefer aria-label="one half" or nearby prose when the value matters.

Semicolon

End references

Always finish entities with ; — write &frasl;, not &frasl.

Browser Support

Fraction slash (U+2044) and its entity forms (&frasl;, &#x2044;, &#8260;, CSS \\2044) are supported in all mainstream browsers. Visible glyphs and digit kerning depend on font coverage.

✓ Universal support

Fraction Slash (⁄)

Encode with named, hex, decimal, CSS escape, or type the character — same code point everywhere encoding is supported.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+2044 Full support

Bottom line: Prefer &frasl; in HTML. Use &#x2044; / &#8260; when numeric form is required, and \\2044 only inside CSS content.

Key Takeaways

  • Unicode: fraction slash is U+2044 (decimal 8260) — glyph ⁄.
  • HTML: prefer &frasl; — also &#x2044; / &#8260; / type ⁄.
  • CSS: use \2044 inside content for generated text.
  • Meaning: ⁄ ≠ / ≠ ½ (use ⁄ to compose; prefer precomposed when available).

One line: U+2044 → &frasl; / &#x2044; / &#8260; / CSS \2044.

Frequently Asked Questions

Use &frasl; (named), &#x2044; (hex), &#8260; (decimal), type ⁄ directly in UTF-8, or the CSS escape \2044 in content.
U+2044 (FRACTION SLASH). Hex 2044, decimal 8260. It belongs to the General Punctuation block (U+2000–U+206F).
Yes. HTML5 defines &frasl; for U+2044. Prefer it for readable markup.
Use it between a numerator and denominator to compose fractions (for example 1⁄2 or 22⁄7). Prefer precomposed fractions such as ½ when available.
HTML entities (&frasl;, &#8260;, or &#x2044;) go in markup. The CSS escape \2044 goes in stylesheet strings (usually content on ::before/::after).
No. U+2044 is the fraction slash (⁄). The ASCII solidus is U+002F (/). One half is the precomposed character U+00BD (½).

Did you know?

Fraction slash is Unicode U+2044 (decimal 8260) — glyph ⁄ (FRACTION SLASH) in General Punctuation. HTML5 named entity: &frasl;. Use it between digits to compose fractions such as 1&frasl;2 → 1⁄2. Prefer precomposed vulgar fractions like one half (½) when a single glyph exists. Do not confuse it with the ASCII solidus / (U+002F).

Next: French Franc Sign

Learn the HTML entity for French franc sign (U+20A3).

French franc sign 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