label使用

<!DOCTYPE html>
<html>
<head>
<title>最爱dnf</title>
</head>
<body>
 <p>我是来自华北一区的一个剑神</p>
 <h1>许愿 万世荣光下装 </h1>
 <h2>许愿 时光轨迹腰带 </h2>
 <h3>许愿 铁马长戈腰带 </h3>
 <h5>不上14就脱坑!!!!</h5>
 <a href="https://baike.baidu.com/item/%E5%89%91%E7%A5%9E/14385099?fromtitle=dnf%E5%89%91%E7%A5%9E&fromid=5061841&fr=aladdin" target="_blank">什么是剑神?</a>
 <a href="#" onclick="alert('让你点左边')">点左边</a>
 <a href="mailto:[email protected]">这个怕是老师的Email</a>
 <form action="" method="get" class="form-example">
  <div >
    <label for="name">用户名: </label>
    <input type="text" name="name" id="name" required>

  <label for="email">邮箱: </label>
    <input type="email" name="email" id="email" required>
 
   <label for="USER id">账号: </label>
    <input type="text" value="Subscribe!">

   <label for="password">密码: </label>
    <input type="password" value="Subscribe!">
 

   <label for="text">手机号: </label>
    <input type="password" value="Subscribe!">
  </div>
  <div class="form-example">
    <input type="submit" value="Subscribe!">
  </div>
</form>
</body>
</html>

猜你喜欢

转载自www.cnblogs.com/pangzhihao/p/9661472.html