HTML Entity for Lowercase F (f)

Beginner
6 min read
Updated: Sep 2026
1 example
Unicode U+0066

What Is the Lowercase F Entity?

Lowercase f is the Basic Latin character at Unicode U+0066 (LATIN SMALL LETTER F). You can type f directly in HTML, or write it with a numeric character reference when you need an explicit entity form.

Remember
Character     f
Unicode       U+0066
Hex entity    f
Decimal       f
CSS escape    \0066
Named entity  (none)

All of these produce the same glyph: f. Prefer typing f in normal page text; use entities for CSS content, generated markup, or when encoding must be explicit.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct characterfHTML text (default choice)
Hex entityfHTML markup
Decimal entityfHTML markup
CSS escape\0066Stylesheet content
Named entity—Not defined in HTML5

When to Use Which

SituationUse
Normal paragraphs, headings, labelsType f
Need an entity in HTML sourcef or f
Generated text via ::before / ::aftercontent: "\0066"
Looking for &f; or similarDoes not exist — use numeric form
Florin / function symbol (ƒ)ƒ (different character)

Live Preview

Lowercase f rendered in common UI contexts.

Inline text The letter f appears in words like format and font.
Large glyph f
Alphabet d e f g h
Monospace function foo() { }
With entities Hex: f | Decimal: f
Not the same ƒ (florin / f hook, ƒ)

Complete HTML Example

One page that shows lowercase f with the hex entity, decimal entity, CSS escape, and a typed character. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed

All four ways to produce f in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Lowercase F (f) in HTML</title>
  <style>
    #point::after {
      content: "\0066";
    }
  </style>
</head>
<body>
  <p>Lowercase F using Hex Code: &#x66;</p>
  <p>Lowercase F using HTML Code: &#102;</p>
  <p id="point">Lowercase F using CSS Entity: </p>
  <p>Typed directly: f</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+0066 → &#x66; in HTML. The browser turns it into f.

2. Decimal: same code point as 102 → &#102;. Same result as hex.

3. CSS: use \0066 in content (not an HTML entity). #point::after appends that f after the paragraph text.

4. Typed f: best for normal text. All four lines show the same letter.

Pitfalls & Tips

Common mistakes when working with the lowercase f entity.

Named?

No &f;

HTML5 does not define a named entity for ASCII letters. Use numeric forms.

CSS vs HTML

Do not mix escapes

\0066 belongs in CSS. &#x66; / &#102; belong in HTML.

f vs ƒ

Not florin

ƒ is U+0192 (&fnof;) — a different character from plain f.

Default

Type f when you can

Entities are for encoding needs — not required for ordinary body text.

Semicolon

End references

Always finish with ; — write &#102;, not &#102.

Case

f vs F

Uppercase F is U+0046 — a different code point from U+0066.

Browser Support

Lowercase f (U+0066) and its numeric entity forms (&#x66;, &#102;, CSS \\0066) are supported in all mainstream browsers.

✓ Universal support

Lowercase F (f)

Type f, or encode with hex, decimal, or CSS escape — same glyph everywhere.

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+0066 / entities Full support

Bottom line: Use a typed f for normal text. Prefer &#x66; or &#102; in HTML when encoding must be explicit, and \\0066 only inside CSS content.

Key Takeaways

  • Unicode: lowercase f is U+0066 (decimal 102).
  • HTML: use &#x66; or &#102; when you need an entity.
  • CSS: use \0066 inside content for generated text.
  • Default: type f directly unless encoding requires an entity.

One line: U+0066 → type f, or encode as &#x66; / &#102; / CSS \0066.

Frequently Asked Questions

Use &#x66; (hex), &#102; (decimal), or the CSS escape \0066 in the content property. All render the letter f. In most cases you can also type f directly.
U+0066 (LATIN SMALL LETTER F). Hex 66, decimal 102. It belongs to the Basic Latin (ASCII) block and is the sixth letter of the Latin alphabet.
No. ASCII letters like f do not have named HTML entities in HTML5, so you should use numeric references like &#102; or &#x66; when you need an entity form.
Use entities when generating content in CSS, when you want explicit encoding, or when outputting into contexts where escaping is required. For normal body text, typing f directly is usually best.
HTML entities (&#102; or &#x66;) go in markup. The CSS escape \0066 is used in stylesheets (usually in the content property of ::before/::after). Both render f.
Plain f is U+0066. The florin / function symbol ƒ is U+0192 and has the named entity &fnof;. Use f for the letter; use ƒ only when you need that special symbol.

Did you know?

Lowercase f is Unicode U+0066 (decimal 102). HTML5 has no named entity for it — use &#x66; or &#102; when you need an entity form. Do not confuse it with florin ƒ (&fnof;).

Next: Lowercase F Hook

Learn the HTML entity for ƒ (florin / function symbol) — a different Unicode character from plain f.

Lowercase F Hook tutorial →

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