HTML Entity for Lowercase N Tilde (ñ)

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

What You'll Learn

How to display the lowercase n with tilde (ñ) in HTML using named entity, hexadecimal, decimal, and CSS escape methods. This character is U+00F1 in the Latin-1 Supplement block. In Spanish it is called eñe and has been part of the alphabet since the eighteenth century. It is also used in Galician, Asturian, Filipino, Portuguese, and many other languages.

Render it with ñ, ñ, ñ, or CSS escape \00F1. The named entity ñ is one of the most widely recognized HTML entities.

⚡ Quick Reference — Lowercase N Tilde Entity

Unicode U+00F1

Latin-1 Supplement

Hex Code ñ

Hexadecimal reference

HTML Code ñ

Decimal reference

Named Entity ñ

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+00F1
Hex code       ñ
HTML code      ñ
Named entity   ñ
CSS code       \00F1
Meaning        Latin small letter n with tilde
Related        U+00D1 = Ñ (Ñ)
Block          Latin-1 Supplement (U+0080–U+00FF)
1

Complete HTML Example

A simple example showing the lowercase n tilde (ñ) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\00F1";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x00F1;</p>
<p>Symbol (decimal): &#241;</p>
<p>Symbol (named): &ntilde;</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try It Yourself

🌐 Browser Support

The lowercase n tilde (ñ) and the named entity &ntilde; are supported in all modern browsers:

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

👀 Live Preview

See the lowercase n tilde (ñ) in language and content contexts:

Large glyphñ
Spanishaño  |  niño  |  mañana  |  español
Portugueseamanhã  |  espanhol
Named entity&ntilde; renders as ñ
UppercaseÑ (U+00D1) — use &Ntilde;
Not the same asň (n caron)  |  ɲ (IPA left hook)  |  n (plain)
Numeric refs&#x00F1; &#241; &ntilde; \00F1

🧠 How It Works

1

Hexadecimal Code

&#x00F1; uses the Unicode hexadecimal value 00F1 to display the character. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#241; uses the decimal Unicode value 241 to display the same character. A common method when a numeric reference is needed.

HTML markup
3

Named Entity

&ntilde; is the named entity for n tilde—readable in source HTML and one of the most familiar HTML character references.

HTML markup
4

CSS Entity

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

CSS stylesheet
=

Same visual result

All four methods produce the glyph: ñ. Unicode U+00F1 sits in Latin-1 Supplement. Uppercase equivalent: U+00D1 (Ñ, &Ntilde;). Do not confuse with ň (n caron) or ɲ (IPA left hook).

Use Cases

The lowercase n tilde (ñ) is commonly used in:

🇪🇸 Spanish (eñe)

Essential for correct Spanish spelling (año, niño, mañana, español). Use the entity or UTF-8 for proper display and SEO.

🌍 Galician & Filipino

Used in Galician, Asturian, Filipino (Tagalog), and other languages. Correct character (U+00F1) supports proper orthography.

🇧🇷 Portuguese

Portuguese words like amanhã and espanhol, and localization for Spanish- and Portuguese-speaking audiences.

⚙ Programmatic HTML

When building HTML from CMS content or translation data, using &ntilde; or &#241; guarantees correct output.

📚 Documentation

Tutorials on HTML entities, Unicode, or language learning showing &ntilde; and numeric codes for ñ.

♿ Accessibility

Using the correct character (U+00F1) with proper lang attributes ensures assistive technologies pronounce content correctly.

🎨 CSS Generated Content

Using \00F1 in the CSS content property to insert ñ via pseudo-elements.

💡 Best Practices

Do

  • Serve pages as UTF-8; you can type ñ directly in UTF-8 source
  • Use &ntilde; for readable HTML when a named form is preferred
  • Set lang attributes (e.g. lang="es", lang="pt") on language-specific content
  • Use \00F1 in CSS content when generating the symbol via pseudo-elements
  • Distinguish ñ (n tilde) from ň (n caron) and ɲ (IPA left hook)

Don’t

  • Substitute plain n when ñ is required in Spanish or Portuguese text
  • Confuse ñ (n tilde) with ň (n caron), ʼn (n apostrophe), or ɲ (IPA left hook)
  • Put CSS escape \00F1 in HTML text nodes
  • Double-encode entity references in dynamically generated HTML
  • Omit lang attributes on pages with Spanish or Portuguese content

Key Takeaways

1

The named entity is the most familiar form

&ntilde;
2

Numeric alternatives: hex and decimal

&#x00F1; &#241;
3

Unicode U+00F1 — LATIN SMALL LETTER N WITH TILDE

4

Essential for Spanish eñe; uppercase is Ñ (&Ntilde;)

❓ Frequently Asked Questions

Use &ntilde; (named), &#x00F1; (hex), &#241; (decimal), or \00F1 in CSS content. In UTF-8 you can also type ñ directly.
U+00F1 (LATIN SMALL LETTER N WITH TILDE). Latin-1 Supplement block. Hex 00F1, decimal 241. Used in Spanish (eñe), Galician, Filipino, Portuguese, and other languages. Uppercase form is U+00D1 (Ñ).
When displaying Spanish, Galician, Filipino, Portuguese, or other language text that uses ñ, in multilingual sites, documentation, or when you need a reliable character reference. In UTF-8 pages you can type ñ directly.
The named HTML entity is &ntilde;. You can also use &#241; or &#x00F1;, or the CSS entity \00F1.
HTML entity (&ntilde;, &#241;, or &#x00F1;) is used in HTML content; CSS entity \00F1 is used in stylesheets in the content property of pseudo-elements. Both produce ñ.

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