The onKeyUp event handler handles events in which a key is pressed and then released.
<html>
<head>
<title> Using the onKeyUp event handler of the Link object</title>
</head>
<body>
Highlight the link, press a key and let it up.
<form name="form1">
<a href=http://www.java2s.com
onKeyUp='alert("You let the key up")'>
www.java2s.com</a>
<br><br>
</form>
</body>
</html>