Code
Execute
<!DOCTYPE html> <html> <head> <title>Wikitechy autofocus attribute</title> </head> <body> First name : <input type="text" name="fname"><br> E-mail : <input type="email" name="email" autofocus> </body> </html>
Result