What is the reason for using javascript:{} in the code below. Is it similar to href="javascript:" or href="javascript:void(0)"?
<a href="javascript:{}">This is an example</a>
Let hyperlink look like a link but didn't link anything.
<a href="javascript:{}">This is an example</a>
if you remove href attribute, that a tag will be normal text.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With