HTML Forms are required when you want to collect some data from the site visitor. For example registration information: name, email address, credit card, etc.
A form will take input from the site visitor and then will post your back-end application such as CGI, ASP Script or PHP script etc. Then your back-end application will do required processing on that data in whatever way you like.
Includes:-
-Text Fields
-Check Boxes
-Radio Buttons
-Submit Buttons
-Select lists
-Text Area
-Label Elements
Syntax of form in html is,
<form>
//(Between this you can code the html part like printing the first name ,last name ,email, or mobile number with validations..Each field includes the input types..I ll show you one example in below image)
</form>
Note: If you want to change the layout of form so you can prefer my Css style post..so it easy to you for changing the layout of form with different color like background, font-size etc.
In my next post i am gonna post the html form with validations..if you like this comment please.
A form will take input from the site visitor and then will post your back-end application such as CGI, ASP Script or PHP script etc. Then your back-end application will do required processing on that data in whatever way you like.
Includes:-
-Text Fields
-Check Boxes
-Radio Buttons
-Submit Buttons
-Select lists
-Text Area
-Label Elements
Syntax of form in html is,
<form>
//(Between this you can code the html part like printing the first name ,last name ,email, or mobile number with validations..Each field includes the input types..I ll show you one example in below image)
</form>
Note: If you want to change the layout of form so you can prefer my Css style post..so it easy to you for changing the layout of form with different color like background, font-size etc.
Simple html form code without any style.
Output should be print like below image,
In my next post i am gonna post the html form with validations..if you like this comment please.
No comments:
Post a Comment