代碼求解謝謝
代碼:
<p>輸入框:<input type="password" value="" name="text1" maxlength="10"><br> ? ?
請輸入口令:zhimakaimen ? ?
<input type="submit" value="開門"> ? ?
請問這段碼什么意思?謝謝
代碼:
<p>輸入框:<input type="password" value="" name="text1" maxlength="10"><br> ? ?
請輸入口令:zhimakaimen ? ?
<input type="submit" value="開門"> ? ?
請問這段碼什么意思?謝謝
2015-12-27
舉報
2015-12-28
這個是通過type來讓input的屬性是輸入框或者密碼框 然后他還做了按鈕提交的屬性
2015-12-27
input :type為password,表示當前輸入框為密碼輸入框,maxlength表示當前輸入框最多可輸入10個字符長度。
第二行提示你在密碼輸入框內輸入zhimakaimen
最后一個input type為submit,表示為一個提交按鈕。
所以整體下來就是,你先在輸入框中輸入zhimakaimen然后點擊開門按鈕
2015-12-27
在頁面顯示一個密碼輸入框和一個提交按鈕