Form with action script and checkbox
<html>
<body>
<form name="input" action="fake_action.asp" method="get">
I have a bike:
<input type="checkbox" name="Bike" checked="checked"><br>
I have a car:
<input type="checkbox" name="Car">
<br>
<input type="submit" value="Submit">
</form>
<p>
If you click the "Submit" button, you send your input to a new page called html_form_action.asp.
</p>
</body>
</html>
Related examples in the same category