摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>作業(yè)測試</title> <style> li{list-style:none;} input{ height:8px;width:258px;border
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>作業(yè)測試</title> <style> li{list-style:none;} input{ height:8px;width:258px;border:1px solid #ccc; margin-top:20px;padding:20px; } button{ height:50px;width:300px;border:1px solid #ccc; margin-top:20px; background:#ff6a00; } li{ float:left; } </style> </head> <body> <div> <ul> <li>賬號登錄|</li> <li>掃碼登錄</li> <br> </ul> <form action=""> <input type="text" placeholder="請輸入用戶名"><br> <input type="password" placeholder="請輸入密碼"><br> <button>登錄</button> </form> </div> </body> </html>
批改老師:天蓬老師批改時間:2019-04-04 11:12:06
老師總結(jié):表單中的每個控件, 推薦使用一個標簽<label>,除非是移動頁面