Input Tags

Posted on Updated on

dfgrefInput Tags:

Input tags are use to get the value from the user and pass to the intermediate language like php,.net,java etc with help of name which we give to the input tag.

Input tag list:-

 Input type=”text”

 Input type=”radio”

 Input type=”checkbox”

 Input type=”button”

 Input type=”submit”

 Input type=”reset”

 Input type=”text”:-

Input type text is create a text box where we can enter the text as well as numbers or special characters.

Syntax:

<input type=”text” name=”user_name”/>

It show a box or text field.

 Input type=”radio”:-

Input type radio create a radio button with the help of this we can create a circle select option with the help of this we can select one option from tow or more options like  gender.

Syntax:

<input type=”radio” name=”gender” value=”male”/>

<input type=”radio” name=”gender” value=”female”/>

It shows two radio buttons we can select one from these.

 Input type=”checkbox”:-

Input type checkbox create a box we can check and select multiple options from a category. like hobby of a person can be two or more then two.

Syntax :

<input type=”checkbox” name=”hobby” value=”hockey”/>

<input type=”checkbox” name=”hobby” value=”Base ball”/>

<input type=”checkbox” name=”hobby” value=”Badminton”/>

<input type=”checkbox” name=”hobby” value=”Music”/>

<input type=”checkbox” name=”hobby” value=”Dancing”/>

It will create 5 options we can select more than one option.

 Input type=”button”:-

Input type button is create a button the function of the button is just click and it will not submit the value we use the button with jquery and javascript. Simple button just use for create a button with lable.

Syntax:

<input type=”button” name=”btn_name” value=”simple button”/>

It will create a button with lable simple button.

 Input type=”submit”:-

Input type submit is use for submit the form and pass the values form the input tags to the language like (php,java,.net).submit button refresh the page after click.

Syntax:

<input type=”submit” name=”btn_submit” value=”save page”/>

It will create a submit button with label save page.

 Input type=”reset”:-

Input type reset is use for reset the all input tags clear without refresh the page.and deselect the options which we selected after click.

Syntax:

<input type=”reset” name=”btn_reset” value=”reset values”/>

It will reset the tags value.

For more details and queries please feel free to email, visit or call us. Wishing you the very best for all your future endeavors.

Helpline: 9814666333, 8699444666

Email:info@technocampus.co.in

**************************************************************************************************************

Please fill the FORM and we shall contact you soon.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s