Category: HTML


href javascript ; void 0

The void operator is often used to obtain the undefined primitive value. <a href=”javascript:void(0);”> Click Me </a> In this case, it is used to avoid # in the URI bar. The hrefs value will...


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.