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.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *