#6 link with void operator as href value

from blog HTMHell, | ↗ original
↗ original
Bad code a href="javascript:void(1)" onClick='window.location="index.html"'>Linka> Issues and how to fix them Links won't work, if JavaScript fails to load or execute. You don’t need JavaScript to link to other pages, you can use the href attribute for that. Browser support is pretty good (100% of all browsers). The context menu on right click is...