<form action="/statics/demosource/demo-form.php" method="get"> <input list="browsers" name="browser"> <datalist id="browsers"> <option value="Internet Explorer"> </option><option value="Firefox"> </option><option value="Chrome"> </option><option value="Opera"> </option><option value="Safari"> </option></datalist> <input type="submit"> </form> <p><strong>注意:</strong> Internet Explorer 9(更早IE版本),Safari不支持 datalist 标签。</p>