Sunday, May 26, 2013

HTML File - Making a Registration Form



To make a Registration Form, first, unahin muna ang container tag na <form></form> para makagawa ka ng isang form.

Then sa loob nito narito ang:

Form of action - Nag-iindicate kung saan ilalagay ang mga impormasyon at maisasubmit din ito.

Form of Method - Nag-iindicate kung anung paraan isasubmit ang mga impormasyon

Example: <form action="http://www.myserver.com/myscript.cgi" method="post">


To make a Text Box:

Type the attribute <input>

Example: <input type="text">


To make a Large Text Area:

Use the container tag <textarea></textarea>

Example: <textarea name="textarea1">This is a text area.</textarea>


To Create Radio Button:

Type the attribute <input>

Example: <input type="radio" name="gender>


To Create Check Boxes:

Type the attribute <input>

Example: <input type="checkbox" name="checkboxCS>


To Create Drop-Down Menus:

Just make the container tag <select></select>


To Create Submit Button:

Type the attribute <input>

Example: <input type="submit" value="submit">


To create Clear Button:

Type the attribute <input>

Example: <input type="reset" value="reset">




Output: