这里 form 标签的 action里面也可以替换为 ***.php,另外 就会触发这里action里的内容。我们看看实际网页:
2、点击跳转后,携带checkbox的内容:
<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>