• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. Building Forms > Adding an Input Textbox

Adding an Input Textbox

Input textboxes are used for a number of form needs, including any time you want someone to type out his name, address, and so forth. To create a textbox, you use the input element along with the type attribute and a value of text (see Example 5-2).

Example 5-2. Adding input textboxes

<form method="get" action="http://www.myserver.com/cgi-bin/mailscript/">

First Name: <input type="text" /><br />
Last Name: <input type="text" /><br />
Phone: <input type="text" />

</form>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint