CMSC 498P February 13, 1996

IV. Forms in HTML 3.0

The 3.0 spec of HTML, when agreed upon, promises to increase the flexibility and uses of the FORM tag with several new additions. These additions fall under one of two types: Additions, and new INPUT types. Some will bring new uses to FORMs, while others seem to have been thrown in for the hell of it. But enough of the opinions... on to the new stuff....

The first new thing is the addition of the SCRIPT attribute to the FORM tag. This attribute allows you to specify a client side script for use in processing the form data. The language and interface for this type of script is not defined by the standard.

The next new thing is the addition of the DISABLED attribute to all INPUT types, TEXTAREAs, and SELECT fields. This disables (who woulda thunk it?) that field which should be rendered but "greyed out" when possible.

The third addition, is that of the SRC, HEIGHT, WIDTH, and UNITS attributes to the SELECT tag to allow for graphical menus which would function as imagemaps with hotspots. The use of the additional attributes would be the same as those attributes of the same name used for the IMG tag.

Also added are three new INPUT types:

This example requires a browser that can do this... Netscape 1.2b3 and above. BTW, Netscape does not utilize the ACCEPT attrib.
<FORM ENCTYPE="multipart/form-data" METHOD=POST>
  Send this file: <INPUT TYPE="file" NAME="somename">
</FORM>
Send this file:
<- Back to Index


Authored by LoneWolf (Mosh Teitelbaum).