Web Development Basics

Extra

FORM ELEMENTS

DESCRIPTION

Text Box

A text box enables users to enter a single line of text, such as a First Name.

Text Area

The TEXTAREA element displays a large text area that enables users to enter several lines or paragraphs of text.

Password Box

A password box enables users to enter text into a text box while masking what they are typing in with asterisks.

Drop-Down List

The SELECT element displays a drop-down list that enables users to select an option from a list of several options.

Check Box

Check boxes enable users to select one or more options.

Radio Button

Radio buttons enable users to select only one of several options.

Submit Button

A submit button enables users to send data in the form to the ASP page that will process the data.

43 GenericTemplate.htm - Notepad

43 GenericTemplate.htm - Notepad

Click File O Save As.

m Type SubmitComments.htm as your filename.

■ The Web page appears with the form on it.

Click File O Save As.

Click to select the Default Web Site folder where you want to store your file.

-■ If the Default Web Site folder is not onscreen, click the Save in 0to select the folder.

m Type SubmitComments.htm as your filename.

Click Save to save and close the dialog box.

Browse to the saved Web page at http://localhost /SubmitComments.htm.

Note: See page 20 for instructions on browsing the default Web site.

■ The Web page appears with the form on it.

Note: If you click the Send Comments button on this form, a File not Found error will appear onscreen because you have not created the page.

Was this article helpful?

0 0

Post a comment