What Is &nbsp

Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.

Last updated: April 10, 2026

Quick Answer:   is the HTML entity for a non-breaking space character (Unicode U+00A0) that renders as a regular space but prevents line breaks between words. Introduced in HTML 2.0 (1995), it remains the standard method for controlling spacing and preventing text wrapping in web content. Used across all modern browsers and supported by 100% of web devices since its inception.

Key Facts

Overview

  is the HTML entity representation of a non-breaking space, a special character that functions as a regular space visually but prevents automatic line wrapping. Unlike the standard space character that browsers can use as a line-break point,   keeps adjacent words or elements locked together on the same line, regardless of how narrow the container becomes. This entity was introduced in HTML 2.0, the first standardized version of HTML released in 1995, making it one of the oldest and most widely supported web technologies.

Web developers, designers, and content creators rely on   to maintain precise formatting and prevent awkward text splits that degrade readability. From preserving company name formatting to keeping numbers attached to their units (like "98.6 °F"), this single entity has remained essential across decades of web evolution. Its universal compatibility—supported by every browser since the earliest web implementations—ensures that   will display consistently whether viewed on a desktop monitor or mobile phone.

How It Works

  operates by inserting a special character that browsers interpret differently from regular space characters, creating predictable formatting behavior:

Key Comparisons

Aspect  (No-Break Space)Regular SpaceEm-Space ( )
HTML Code Space or " " 
Unicode CharacterU+00A0U+0020U+2003
WidthStandard space width (~0.25 em)Varies by font, typically 0.25 emFull em width (~1 em)
Line Break AllowedNeverYes, at space positionNever
Primary Use CaseKeeping words together, abbreviationsNormal text separationProfessional typography spacing
Browser Support100% since 1995100% universal95%+ modern browsers

Why It Matters

While modern CSS offers alternatives like white-space properties and flexbox,   remains unmatched in simplicity, reliability, and universal compatibility. Its 31-year track record of consistent browser support makes it the most trustworthy method for preventing line breaks in HTML content. Understanding when and how to use   separates professional web developers from those creating content that appears broken or poorly formatted on different devices and browsers.

Sources

  1. HTML Standard - Named CharactersCC0-1.0
  2. Wikipedia - Non-breaking SpaceCC-BY-SA-3.0
  3. W3C - HTML 4.01 Character Entity ReferencesCC-BY-3.0

Missing an answer?

Suggest a question and we'll generate an answer for it.