Typography & Punctuation
NBSP

Non-Breaking Space (NBSP) ( )

A space character that prevents automatic line breaks across adjacent words (e.g. between numbers and units like "100 km"). Unlike regular whitespace, multiple   entities are not collapsed by browser rendering engines.

One-Click Copyable Code Formats

HTML Named Entity
 
HTML Decimal Code
 
HTML Hex Code
 
CSS content (\XXXX)
\00A0
JavaScript Unicode (\uXXXX)
\u00A0
URL Percent Encoded
%C2%A0

Real-World Implementation Snippets

HTML5 Document
<p>Example: &nbsp;</p>
CSS ::before / ::after
.badge::before { content: '\00A0 '; }
React JSX / TypeScript
<span>{"\u00A0"}</span>
Frequently Asked Questions

Non-Breaking Space (NBSP) ( ) HTML Entity FAQ

Common questions regarding HTML escape codes, CSS pseudo-elements, and browser character encoding.

The standard HTML named entity is "&nbsp;". If using numeric codes, you can use the decimal code "&#160;" or hex code "&#xA0;".