html 更新了Web Developer Bootcamp的注册要点

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html 更新了Web Developer Bootcamp的注册要点相关的知识,希望对你有一定的参考价值。

<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Register</title>
</head>

<body>
  <h1>Register</h1>

  <form class="register">
    <label for="firstName">First Name: </label>
    <input id="first" type="text" name="firstName" placeholder="John" required />
    <label for="lastName">Last Name: </label>
    <input id="last" type="text" name="lastName" placeholder="Doe" required />

    <div class="sex">
      <label for="male">Male </label>
      <input id="male" type="radio" name="gender" value="male">
      <label for="female">Female </label>
      <input id="female" type="radio" name="gender" value="female">
    </div>

    <div>
      <label>Email:
        <input type="email" name="email" placeholder="Your email" required />
      </label>

      <label>Password:
        <input type="password" name="password" pattern=".{5,10}" required title="Password must be 5 to 10 characters" />
      </label>
    </div>

    <div class="birthday">
      <label for="birthday">Birthday: </label>
      <select name="month">
        <option value="Month">Month</option>
        <option value="Jan">Jan</option>
        <option value="Feb">Feb</option>
        <option value="Mar">Mar</option>
      </select>
      <select class="day">
        <option value="Day">Day</option>
        <option value="first">1</option>
        <option value="second">2</option>
        <option value="third">3</option>
      </select>
      <select class="year">
        <option value="Year">Year</option>
        <option value="1978">1978</option>
        <option value="1979">1979</option>
        <option value="1980">1980</option>
      </select>
    </div>

    <div class="terms">
      <label for="terms">I agree to the terms and conditions </label>
      <input type="checkbox" name="check" value="terms" required />
    </div>
    <input type="submit">
  </form>
</body>

</html>

以上是关于html 更新了Web Developer Bootcamp的注册要点的主要内容,如果未能解决你的问题,请参考以下文章

Visual Web Developer 用新的 HTML 替换内部 HTML

html Web Developer Bootcamp上CSS基础知识的骨架HTML

html for Web Developer Bootcamp的for循环练习

iOS 10 升级后无法真机测试 Could not find Developer Disk Image

固定标签更新通知

localstorage 更新监测 storage事件