Category: HTML


href javascript ; void 0

The void oper­a­tor is often used to obtain the unde­fined prim­i­tive 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 be undefined.…

&nbsp in html?"> 0

&nbsp in html?">What is &nbsp in html?

<p> Hello&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;World</p> Ren­dres “Hello     World”. As Non-breaking spaces are not col­lapsed when ren­dered by the browser on a web­page. You’ll have to change &NBSP to &nbsp. <p> Hello World</p> Ren­ders “Hello World” on a webpage.