带有复选框的表单
- <html>
- <body>
- <form name="input" action="/html/html_form_action.asp" method="get">
- I have a bike:
- <input type="checkbox" name="vehicle" value="Bike" checked="checked" />
- <br />
- I have a car:
- <input type="checkbox" name="vehicle" value="Car" />
- <br />
- I have an airplane:
- <input type="checkbox" name="vehicle" value="Airplane" />
- <br /><br />
- <input type="submit" value="Submit" />
- </form>
- <p>如果您点击 "Submit" 按钮,您将把输入传送到名为 html_form_action.asp 的新页面。</p>
- </body>
- </html>