带有输入框和确认按钮的表单

  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4.  
  5. <form action="/demo/demo_form.asp">
  6. First name:<br>
  7. <input type="text" name="firstname" value="Mickey">
  8. <br>
  9. Last name:<br>
  10. <input type="text" name="lastname" value="Mouse">
  11. <br><br>
  12. <input type="submit" value="Submit">
  13. </form>
  14.  
  15. <p>如果您点击提交,表单数据会被发送到名为 demo_form.asp 的页面。</p>
  16.  
  17. </body>
  18. </html>