HTML标签-【fieldset】-fieldset

  1. <fieldset style="width: 400px; height: auto; margin: 10px auto">
  2. <legend>用户基本信息</legend>
  3. <form name="myForm" id="myForm" action="" method="post">
  4. <label for="username">
  5. UserName:
  6. </label>
  7. <input type="text" id="username" />
  8. <br />
  9. <label for="pwd">
  10. PassWord!</label>
  11. <input type="text" id="pwd" />
  12. <br />
  13. <input type="submit" value="Submit" />
  14. <input type="reset" value="Reset" />
  15. </form>
  16. </fieldset>

上一篇:HTML
标签


下一篇:iPhone 6/plus iOS Safari fieldset border 边框消失