Basic HTML version of Foils prepared 11 May 1997

Foil 25 Content Fields of a Form: Menus and Scrolled Lists, TextAreas

From Introduction to HTML--ECS400 fall 97 ECS400 Senior Undergraduate Course -- Spring Semester 97. by Nancy J. McCracken *

These are created using the select tag, followed by a number of options. The size attribute determines if a menu or list is displayed.
<select name="card" size=1>
<option selected> Master Card
<option> Visa
<option> Discover
</select>
A size of 1 produces a menu and a size of 2 or more produces a scrolled list.
Use a textarea to show a large typing area:
<textarea rows=10 cols=50 name="comments">
This is the default information.
</textarea>



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Aug 26 1997