带有输入框和确认按钮的表单
- <!DOCTYPE html>
- <html>
- <body>
- <form action="/demo/demo_form.asp">
- First name:<br>
- <input type="text" name="firstname" value="Mickey">
- <br>
- Last name:<br>
- <input type="text" name="lastname" value="Mouse">
- <br><br>
- <input type="submit" value="Submit">
- </form>
- <p>如果您点击提交,表单数据会被发送到名为 demo_form.asp 的页面。</p>
- </body>
- </html>