Non-Breaking Space— 


A non-breaking space is a white space character that HTML will not collapse.

Non-breaking spaces are used to hold open table cells and add spacing between words. It is also common to use non-breaking spaces to add tabs to HTML or to indent the first line of a paragraph.

Many of the ways non-breaking spaces are used can be done using the CSS properties margin and padding. You can also affect the white space of your web pages with the white-space property.

Writing a Non-Breaking Space in HTML

Use the HTML code:   or the numerical code  .

Also Known As:

Some people refer to a non-breaking space as an “nbsp” in reference to the HTML character code.


   this text is indented 3 spaces.

The HTML is:

&#160;&#160;&#160;this text is indented 3 spaces.