<!DOCTYPE html> <html> <body> <form action="/index/demo/form_current.html"> First name: <input type="text" name="fname" autofocus><br> Last name: <input type="text" name="lname"><br> <input type="submit"> </form> <p><b>注释:</b>Internet Explorer 9 以及更早的版本不支持 input 标签的 autofocus 属性。</p> </body> </html>