<!DOCTYPE html>
<html> <head> <meta charset="utf-8" /> <title>hello</title> </head> <body> <form action="demo_form.php"method="get"> <!--一个页面只能指定一个autofocus值--><input type="search" name="search1"autofocus/> <input type="submit" value="百度一下" /> </form> </body>
</html>