比较简单,直接上 代码
<form action="#" method="get">
昵称<input type="text" value="abc"><br>
密码<input type="password"><br>
确认密码<input type="password"><br>
<!--lable (和其他元素关联)标签的用法 有2种 第一种<label for="sextype1">男</label>
第二种
<label>
<input
name="sextype"
type="radio">女<br>
</label>-->
性别<input type="radio" checked="checked" id="sextype1" name="sextype"><label for="sextype1">男</label>
<label>
<input
name="sextype"
type="radio">女<br>
</label>
生日<select>
<option selected="selected">公历</option>
<option>农历</option>
</select>
<select>
<option>1997年</option>
</select>
<select>
<option>1月</option>
</select>
<select>
<option>1日</option>
</select>
<br>
<label><input type="checkbox">同时开通qq空间</label>
<br>
<input type="checkbox">我已阅读
<br>
<input type="submit" value="提交注册">
<br>
<input type="button" value="普通按钮">
<br>
<input type="reset" value="重置按钮">
</form>