The onDblClick event handler handles the event when the mouse cursor is double-clicked on the link.
<html>
<head>
<title> Using the onDblClick event handler of the Link object</title>
</head>
<body>
Click the link.
<form name="form1">
<a href="http://www.java2s.com" onDblClick='alert("You double-clicked the link")'>www.java2s.com</a>
<br><br>
</form>
</body>
</html>