源代碼
點擊運行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>教程</title> </head> <body> <form action=""> Username: <input type="text" name="user"><br> Password: <input type="password" name="password"> </form> <p><b>注意:</b> 密碼字段中的字符是隱藏的(顯示為星號或圓圈)。</p> </body> </html>
運行結果