HTML Entity for Long S (ſ)

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

What You'll Learn

How to display the Long S (ſ) character in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+017F (LATIN SMALL LETTER LONG S) in the Latin Extended-A block (U+0100–U+017F).

Render it with ſ, ſ, or CSS escape \017F. There is no named HTML entity. The long s is a historical form of the letter “s” used in early modern typography (e.g. in English and German printing before the 19th century). For another Latin Extended-A ligature, see Ij (ij, ij).

⚡ Quick Reference — Long S

Unicode U+017F

Latin Extended-A

Hex Code ſ

Hexadecimal reference

HTML Code ſ

Decimal reference

Named Entity

No named entity

Reference Table
Name           Value
────────────   ──────────
Unicode        U+017F
Hex code       ſ
HTML code      ſ
Named entity   (none)
CSS code       \017F
Meaning        Latin small letter long s
Related        U+0073 = s (modern lowercase s)
Block          Latin Extended-A (U+0100–U+017F)
1

Complete HTML Example

A simple example showing the Long S (ſ) using hexadecimal code, decimal HTML code, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\017F";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x017F;</p>
<p>Symbol (decimal): &#383;</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Long S (ſ) is supported in modern browsers when the font includes Latin Extended-A glyphs:

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See the Long S (ſ) in historical and typography contexts:

Large glyphſ
Historical spellingCongreſs (Congreſs)
Typographylong ſ vs round s
Compareſ (long s) vs s (modern lowercase)
Numeric refs&#x017F; &#383; \017F

🧠 How It Works

1

Hexadecimal Code

&#x017F; uses the Unicode hexadecimal value 017F to display the long s character.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

CSS Entity

\017F is used in CSS stylesheets, particularly in the content property of pseudo-elements.

CSS stylesheet
=

Same visual result

All three methods produce the glyph: ſ. Unicode U+017F is in Latin Extended-A. There is no named HTML entity. Previous: Long Right Squiggle Arrow.

Use Cases

The Long S (ſ) is commonly used in:

📜 Historical texts

Reproduce early modern books, pamphlets, and documents with period-accurate spelling.

🔤 Typography

Include the long s in historical or decorative typefaces and font specimens.

📚 Academic editions

Use in critical editions, facsimiles, and scholarly transcriptions of old texts.

🔬 Linguistics

Reference the long s in language history, orthography, and manuscript studies.

🎭 Period design

Add period flavor to websites, signage, or branding referencing the 18th century or earlier.

📖 Education

Explain historical orthography and the evolution of the letter “s” in tutorials.

💡 Best Practices

Do

  • Use a font that supports Latin Extended-A (U+017F) so ſ renders correctly
  • Use numeric references (&#x017F; or &#383;) consistently in HTML
  • Follow period-appropriate rules for where long s appears (often not at word end)
  • Use \017F in CSS content when inserting via pseudo-elements
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Confuse ſ (long s) with the modern lowercase letter s
  • Put CSS escape \017F in HTML text nodes
  • Assume screen readers distinguish long s from s—add context if it matters
  • Expect a named HTML entity—only numeric codes work for ſ
  • Use decorative long s where historical accuracy is not intended without explanation

Key Takeaways

1

Three references render ſ (no named entity)

&#x017F; &#383;
2

For CSS stylesheets, use the escape in the content property

\017F
3

Unicode U+017F — LATIN SMALL LETTER LONG S

4

Historical typography character; differs from modern lowercase s

❓ Frequently Asked Questions

Use &#x017F; (hex), &#383; (decimal), or \017F in CSS content. All produce ſ. There is no named HTML entity.
U+017F (LATIN SMALL LETTER LONG S). Latin Extended-A block. Hex 017F, decimal 383. The Long S was used in historical typography in early modern English and German printing.
For historical text reproduction, typography and font design, academic editions of old texts, linguistics and paleography content, and anywhere period-accurate long s is needed.
HTML code (&#383; or &#x017F;) is used in HTML content. The CSS entity (\017F) is used in CSS, e.g. in the content property of ::before or ::after. Both produce ſ but in different contexts.
Named HTML entities are typically reserved for ASCII, Latin-1, and some common symbols. Latin Extended-A characters like ſ use numeric codes (hex or decimal) because they are part of specialized Unicode blocks.

Explore More HTML Entities!

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