(Site Identification)

'Eye' Focus: Web Support Tutorials

Forms: Usage


Writing a Form

Writing a form is not as difficult as you may think. If you already have knowledge of HTML, then writing your own form will take only a few short minutes. This tutorial will give a basic understanding of the tags used to write the forms.

A typical, functional form may look like this:


This particular form uses the WhitePages.com Online Phone Book to search for a name.

This source of this form looks like this: (skip code)
<form action="http://www.whitepages.com/search/Find_Person" method="get">
<input type="hidden" value="1" name="firstname_begins_with">
<label for="firstname">First Name:</label>
<input id="firstname" name="firstname" type="text" size="20" maxLength="25"><br>
<label for="name">Last Name:</label>
<input id="name" name="name" type="text" size="20" maxlength="25"><br>
<input type="submit" value="Find Listing">
</form>


[Updated: Sunday, November 18, 2007]