016 — Exercice HTML 016

Voir le code source

016表单登陆界面练习.html

Voir le résultat ↗
<!doctype html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>登陆界面练习</title>
    <style>
      fieldset {
        width: 400px;
        height: 300px;
        text-align: center;
      }
    </style>
  </head>
  <body>
    <form>
      <fieldset>
        <legend align="center">登陆界面</legend>

        用户名:<input type="text" /> <br />
        密码:<input type="password" /><br />
        类型:<input type="radio" name="111" value="1" />管理员
        <input type="radio" name="111" value="2" />普通用户<br />
        <input type="checkbox" name="1" value="1" />记住密码
        <input type="checkbox" name="2" value="2" />自动登录<br />
        <input type="submit" value="提交" />
        <input type="reset" value="重置" />
      </fieldset>
    </form>
  </body>
</html>