首页 > 代码库 > HTML标签-【fieldset】-fieldset

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>



来自为知笔记(Wiz)


HTML标签-【fieldset】-fieldset