Wednesday, 18 July 2012
How to create Form with checkboxes and a submit button using html
<!DOCTYPE html>
<html>
<body>
<form name="input" action="html_form_action.asp" method="get">
<input type="checkbox" name="vehicle" value="Bike" /> I have a hyundai car<br />
<input type="checkbox" name="vehicle" value="Car" /> I have a honda bike
<br /><br />
<input type="submit" value="Submit" />
</form>
<p>If you click the "Submit" button, the form-data will be sent to a page called "html_form_action.asp".</p>
</body>
</html>
Result Is:
This post was written by: Bharathi
Bharthi is a professional blogger, web designer and front end web developer. Follow him on Twitter
Subscribe to:
Post Comments (Atom)
0 Responses to “How to create Form with checkboxes and a submit button using html”
Post a Comment