前端整理之html
阿新 • • 發佈:2018-07-25
屬性 str 整理 submit ctype html radi 系列 file
先寫部分input系列:
1.input type="text" -name屬性,value="周栩強"(一個用來輸入的文本框)
2.input type="password" -name屬性,value="周栩強"(文本框輸入,密碼類型的)
3.input type="submit" -value="提交",提交按鈕,表單
4.input type="button" -value="登陸",按鈕
5.input type="radio" -單選框,value,checked="checked",name屬性(相同則相斥,即只能單選)
6.input type="checkbox" -復選框,value,checked="checked",name屬性(批量獲取數據)
7.input type="file" -依賴form表單的一個屬性 enctype="multipart/from-data"
前端整理之html