<!DOCTYPE html> <html lang="en"> <head> <meta charset"utf-8"> <title>注册表单</title> <body> <form action="" method="get" class="zhuce"> <div class="zhuce"><pre> <label for="name">输入你的账号: </label> <input type="text" name="name" id="name" required> <label for="key">输入你的密码: </label> <input type="password" name="password" id="password" minlength="8" placeholder="8 characters minimum" required> <label for="email">输入你的邮箱: </label> <input type="email" name="email" id="email" required> <label for="name">选择你性别: </label> <input type="radio" name="sex" value="male" />男性<br /> <input type="radio" name="sex" value="female" />女性<br /> <label for="name">选择你爱好: </label> <input type="radio" name="interesting" value="riju" />日剧<br /> <input type="radio" name="interesting" value="dongman" />动漫<br /> </div> </pre> </form> </body>