how can url be hidden in hyperlink when mouse hover

hover, html, hyperlink, javascript

Solution

Don't put the URL in the `href` (or keep it `href="#"`) and attach a JavaScript function to the `onclick` event which puts the actual link in the `a` element. This way you won't see the actual URL when hovering over the link but the link will be inserted when the user actually clicks.

Problem

How can I hide URL from displaying when mouse hovers on a hyperlink? ``` <a href="url">Hyperlink</a> ``` How can I hide URL from displaying in browser's bottom status bar when mouse hovers?

Original source

Related problems