Code
Execute
<!DOCTYPE html> <html> <body> <form action="#" onsubmit="alert('Submitted!');return false;"> Username: <input type="text" name="usr_name" value=wikitechy> Encryption: <keygen name="security"> <input type="submit"> </form> </body> </html>
Result