HTML Forms are required to collect different kinds of user inputs, such as contact details like name, email address, phone numbers, or details like credit card information, etc.
Forms contain special elements called controls like inputbox, checkboxes, radio-buttons, submit buttons, etc.
Users generally complete a form by modifying its controls e.g. entering text, selecting items, etc. and submitting this form to a web server for processing.
<form action="insert.php" method="post">
<fieldset>
<legend>Log In</legend>
<label>Username: <input type="text" name="u"></label>
<label>Password: <input type="password" name="p"></label>
<input type="radio" name="sex" id="male">
<label for="male">Male</label>
<input type="radio" name="sex" id="female">
<label for="female">Female</label>
<input type="submit" value="Submit" name="submit">
</fieldset>
</form>
+ tutorialrepublic.com/html-tutorial
+ thaiall.com/html
+ thaiall.com/php
|