<a href="javascript:void(0)" id="loginlink">login</a>
I've seen such anchor tag's href property having javascript:void(0)
value many times. I don't know what exactly that means.I saw this when working with angular 5. Why is javascript:void(0)
used as a value for href property?