xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<title>HTML:<input> autofocus 属性 - 大卫编程网(div.cn)</title>
<body>
<form action="action_page.php">
First name: <input type="text" name="fname" autofocus><br>
Last name: <input type="text" name="lname"><br>
<input type="submit">
</form>
</body>
</html>