<!DOCTYPE HTML> <body> Focus the field below, then dismiss the alert. The field should retain the focus, and the caret in the field should blink. <br> <input onfocus="alert('Test');"> </body>