Idocs Guide to HTML

TYPE = TEXT

TEXT creates a text entry field (the most popular type of data entry field):

this code produces this
<FORM ACTION="../cgi-bin/mycgi.pl">

name: <INPUT TYPE=TEXT NAME="realname">

<P><INPUT TYPE=SUBMIT VALUE="submit">
</FORM>
name:

TEXT is the default input type (if you want a text field, you don't even need to use the TYPE attribute).

this code produces this
<FORM ACTION="../cgi-bin/mycgi.pl">

<!-- Note absence of TYPE attribute -->
name: <INPUT NAME="realname">

<P><INPUT TYPE=SUBMIT VALUE="submit">
</FORM>
name:

The behavior of TEXT fields can be modified using these attributes:


Recommended Resources

web hosting tutorials
Credit Help
Search the Internet
Search Engine Help
Low Fat Lifestyle
Internet Traffic
Web Hosting
Web Design

Discount Hotel Reservations

Search The Internet


Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.
About the author

All Rights Reserved, Copyright © Free-HTML-Tutorials.com 2003
A service of 1stHostWeb.com