Friday, June 26, 2009

Making A Form In HTML

Whenever we create a web page then there is need to create a form that contains some basic elements like text field, text area, radio button, check boxes, drop down menu etc. while creating a form in HTML it is defined by

tag. Here are some form tags that are to be used for creating a form in HTML.

Form Tags

Tag Name

Description

form

This tag is used for creating a form in which user gives input

input

This tag is used for giving input field in form

text area

This tag is used for defining text area i.e. input control

label

This tag is used for defining a control label

fieldset

This tag is used for giving fieldset value

select

This tag is used for selecting a value from drop down list

button

This tag is used for creating a radio button

option

This tag is used for defining an option in drop down box

These are some basic tags that are used for creating a form in HTML. Below code for creating form in HTML is basic code with the help of these you can crate form in HTML. These tags help you to create radio button, text box, check box, text area, and simple button. So, copy this code, edit it to make yourself expert.

this is first form

First Name


Last Name


Sex


Male


Female


Status


10th Passed


12th Passed


Graduation Passed



About Yourself


Category


This is code for creating form and the output of this code see in your web browser.

No comments:

Post a Comment