Html Forms Part1 tutorial 2/8


Definition and Usage

The <form> tag is used to create an HTML form for user input. The form basically not show directly. Forms tag helps to make the field dynamic. For create dynamic website must know the Form tag.  




Code Name Description
Create text fields
First name:
Last name:
Note: The form itself is not visible. Also note that the default width of a text field is 20 characters
Create password field
Username:
Password:
Note: The characters in a password field are masked (shown as asterisks or circles).
Checkboxeces
I have a bike
I have a car
Radio buttons
Male
Female
Note: When a user clicks on a radio-button, it becomes checked, and all other radio-buttons with equal name become unchecked.
Simple drop-down list
Drop-down list with a pre-selected value
Html Forms Part1 tutorial 2/8 Html Forms Part1 tutorial 2/8 Reviewed by Abdul hanan on 02:37:00 Rating: 5

No comments:

Powered by Blogger.