Autofocus Using HTML5
WHEN MAKING A FORM, SOMETIMES YOU WANT TO THE TEXT CURSOR TO BLINK IN A PARTICULAR FIELD AT DEFAULT. HERE'S THE CODE TO ADD TO YOUR HTML FORM.
<input id="example1" name="example1" type="text" autofocus />
Placeholders Using HTML5 with the "Autofocus" tag.
<input id="example2" name="example2" type="text" placeholder="suggestive text" />