• 0

What is &nbsp in html?


    
        <p> Hello&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;World</p>
    
  • Rendres "Hello     World".
  • As Non-breaking spaces are not collapsed when rendered by the browser on a webpage.
  • You'll have to change &NBSP to &nbsp.

    
        <p> Hello     World</p>
    
  • Renders "Hello World" on a webpage.