美文网首页
表单应用

表单应用

作者: 3ab670b99521 | 来源:发表于2018-05-05 08:35 被阅读0次

账号框

<input type="text" placeholder="XXX(水印字)" name="username">

密码框

<input type="password" name="userpwd">

下拉列表

<select>

      <option>选项1</option>

      <option>选项2</option>

      <option>选项3</option>

</select>

单选

男:<input type="radio" checked="true"(默认选中)>

女:<input type="radio">

多选

A <input type="checkbox">

B <input type="checkbox">

C <input type="checkbox">

按钮

<input type="submit" value="名字">

<button>

相关文章