HTML 表单应用

2018-04-17  本文已影响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>XX</buttom>


上一篇 下一篇

猜你喜欢

热点阅读