Web browsers will try and take whatever is used as a URL and load it unless it is a javascript function that returns null. for example if we click a link like this <a href=javascript: alert('Hello World')>Click Me</a> then an alert message will show up without loading a new page, and that is because alert is a function that returns a null value.