<!DOCTYPE html>
<html>
<head>
<title>Title of the document.</title>
<body>
<h1>Example of the HTML "autofocus" attribute.</h1>
<form action="#">
Name: <input type="text" name="fname" autofocus><br>
Surname: <input type="text" name="lname"><br>
<input type="submit">
</form>
</body>
</html>