<form action="/statics/demosource/demo-form.php"> First name: <input type="text" name="fname" autofocus=""><br> Last name: <input type="text" name="lname"><br> <input type="submit"> </form> <p><strong>注意:</strong> Internet Explorer 9及更早IE版本不支持input标签的 autofocus 属性。</p>