HTML5 Forms

The autofocus attribute sets the focus to the specified input element when the page loads. You should see focus in the input element below.

Return to HTML5 Forms TestDrive