form标签

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>标签的使用</title>
  </head>
  <html>
<form action="#" name="forml" method="post">
  用户名:<input type="text" name="username"/>
  <br><br>
  密 码:<input type="password" name="password"/>
    <br><br>
  性 别:
  男<input type="radio" name="sex" value=""><input type="radio" name="sex" value="">
  <br><br>
  邮 箱:<input type="email"/>
  <br><br>
  生 日:<input type="date"/>
  <br><br>
  手机号码:<input type="tel" name="tel" pattern="[1]{1}{358}{1}[0-9]{9}"/>
  <br><br>
  <input type="submit" name="submit" value="提交">
</form>
</body>
</html>

猜你喜欢

转载自www.cnblogs.com/orange123/p/9657884.html
今日推荐