html基礎--body內部標簽
阿新 • • 發佈:2018-07-18
3.1 filename 提交 input button 密碼 tip 需要 method 1.塊級標簽(獨占一行)
H系列標簽,p標簽,div標簽
2.行內標簽
span標簽
3.form標簽
H系列標簽,p標簽,div標簽
2.行內標簽
span標簽
3.form標簽
<form action="表單提交數據的地址" method=“GET/POST”></form>
3.1文本輸入框
<input type="text" />
3.2密碼輸入框
<input type="password" />
3.3按鈕
<input type="button" value=“按鈕” />
3.4提交
<input type="submit" value="提交"/>
3.5單選
<input type="radio" name="radio1" value="radio1" checked="checked"/> <input type="radio" name="radio1" value="radio2"/>
3.6多選
<input type="checkbox" name="checkbox1" value="checkbox1"/>
<input type="checkbox" name="checkbox1" value="checkbox2"/>
3.7上傳
<input type="file" name="filename"/>
需要指定<form enctype="multipart/form-data">
3.8重置
<input type="reset" value="重置" />
html基礎--body內部標簽