HTML Entity - Non-Breaking Space

Last Updated:

Non-Breaking Space

hex code 
html code 
html entity 
css code\000A0


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

Browsergoogle chromesafarifirefoxinternet Exploreredgeoperagoogle chromesafarifirefoxedgeoperaandroid webviewsamsung internet

Share this Page

Meet the Author