<input type="password"> <input type="file"> 单选框 <input type[...]"/>

chan

朝生暮死不足笑 但悲百年不足道

H5知识点笔记2


input标签

<input type=”text”/>

<input type=”password”>

<input type=”file”>

单选框

<input type=”radio” name=”n1″>man

<input type=”radio” name=”n1″>women

复选框

<input type=”checkbox”>篮球

<input type=”checkbox”>足球

<input type=”checkbox”>乒乓球

<input type=”checkbox”>网球

<input type=”button” value=”提交”> #普通的按钮

<input type=”submit” value=”提交”> #可以提交表单

单选下拉框

<select>

<option>北京</option>

<option>上海</option>

<option>深圳</option>

</select>

多选下拉框

<select multiple>

<option>北京</option>

<option>上海</option>

<option>深圳</option>

</select>

多行文本

<textarea></textarea>

评论
还没有评论
    发表评论 说点什么