Wednesday 18 July 2012

How to create Form with radiobuttons and a submit button using html


<!DOCTYPE html>
<html>
<body>

<form name="input" action="html_form_action.asp" method="get">
<input type="radio" name="sex" value="male" /> Male<br />
<input type="radio" name="sex" value="female" /> Female<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:

Male
Female
If you click the "Submit" button, the form-data will be sent to a page called "html_form_action.asp".

0 Responses to “How to create Form with radiobuttons and a submit button using html”

Post a Comment