HTML Entity - Non-Breaking Space

Last Updated:

Non-Breaking Space

 
unicodeU+000A0
hex code 
html code 
html entity 
css code\000A0

Example

The following example will demonstrate how to use 'Non-Breaking Space' HTML entity using HTML and CSS. For a complete reference, go to our HTML Entities.

HTML Online Compiler
<!DOCTYPE html> <html> <head> <style> #point:after{ content: "\000A0"; } </style> </head> <body> <p>Non-Breaking Space using Hexa Decimal: &#xa0;</p> <p>Non-Breaking Space using HTML Code: &#160;</p> <p>Non-Breaking Space using HTML Entity: &nbsp;</p> <p id="point">Non-Breaking Space using CSS Entity: </p> </body> </html>

Browser Support

Devicedesktopmobile
Browsergoogle chromesafarifirefoxinternet Exploreredgeoperagoogle chromesafarifirefoxedgeoperaandroid webviewsamsung internet
 YesYesYesYesYesYesYes?YesYesYesYes?

Share this Page

Meet the Author