執行 ❯
建立您
自己的
網站
×
更改方向
儲存程式碼
更改主題,深色/淺色
前往 Spaces
<!DOCTYPE html> <html> <body> <h2>Autocomplete on/off</h2> <form action="/action_page.php"> First name: <input type="text" name="fname" autocomplete="off"><br> Last name: <input type="text" name="lname" autocomplete="on"><br> <input type="submit"> </form> <p>Fill in and submit the form, then reload the page to see how autocomplete works.</p> <p>Notice that autocomplete is "on" for the last name field, but "off" for the first name field.</p> </body> </html>