Home Yellow Pages Movies Classifieds Jokes Jobs Free Hosting Videos




Lesson 3

HIDDEN input

Syntax : <INPUT TYPE=HIDDEN NAME="LOCATION" VALUE="USA Form">

When used with form, it sends the above hidden text with the data collected via form. If there is more than one form, VALUE will help to identify the data collected via form.

File Upload input

Syntax : <INPUT TYPE=FILE NAME="myfile">

When using this type of input, you must use ENCTYPE="multipart/form-data" in your FORM tag.

SUBMIT and RESET buttons

Syntax of SUBMIT : <INPUT TYPE=SUBMIT>

Syntax of RESET : <INPUT TYPE=RESET>

You can specify a VALUE with SUBMIT and RESET as

<INPUT TYPE=SUBMIT VALUE="Send it anyway !">

Using an image for a Submit button as

<INPUT TYPE=IMAGE SRC="http://media.bizhat.com/phptutorial/submit.gif" WIDTH=94 HEIGHT=26 BORDER=0 ALT="Submit">

INPUT TYPE=IMAGE is by default, a Submit button.

The following code will take you to a new page (Home page of http://phptutorial.bizhat.com) when clicked on Submit button.

<FORM ACTION="index.html">

<INPUT TYPE="submit" VALUE="Table Tutor">

</FORM>

<--BACK       HOME-->

BizHat.com   Bookmark   Astrology   Chat Room   Classifieds   Computer   Downloads   Directory   Dating   Domain Tools   Education   eCards   Finance   Forums   Freelance Work   Free Hosting   Free Mail   Gallery   Games   Guest Book   Greeting Cards   Ham Radio   Health   Home Business   Hosting Tutorials   Hosting Directory   India   Jobs   Jokes   Kerala   Matrimonial   Music   Movies   News   News Letter   Recipes   Real Estate   Search   SMS   Tourist Guide   Top 100 Sites   Vote Us   Yellow Pages   Arthunkal Church   Site Map  

Google