Wednesday, November 3, 2010

Blog 7: Online Forms

I found a site http://www.websitetoad.com/how-to-make-online-forms.htm that gives some basic coding to help create forms on websites.


This code allows you to select options like male/female or small/medium/large in a e-commerce site.

<form>
<input type="radio" name="sex" value="male"> Male
<br>
<input type="radio" name="sex" value="female"> Female
</form>



Or this that allows you to add a submit button.


<form name="input" action="html_form_action.asp"
method="get">
Name:
<input type="text" name="user">
<input type="submit" value="Submit">
</form>

No comments:

Post a Comment