ASP               DHTML               HTML               Javascript               Hourglass Web Design Hourglass Web Design


Forms

A Form <FORM></FORM>

A Form as mail, to inform of intent <FORM METHOD=”post”> Must use below code.

A Form as mail, to designate where <FORM ACTION=mailto:me@yahoo.com> See above.

A Form encoding: after ACTION < . . . ENCTYPE=”text/plain”> Sends mail as clear text.

Buttons, Checkbox <INPUT TYPE=”checkbox” NAME=”ice” VALUE=”dry”> Choose many.

Buttons, Radio <INPUT TYPE=”radio” NAME=”flavors” VALUE=”vanilla”> Choose one.

Buttons: TYPE is what kind of buttons. See above.

Buttons: NAME is the category of choice. See 2 above.

Buttons: VALUE is the specific choice in that category. See 3 above.

Buttons: also <BUTTON NAME=”submit” VALUE=”submit” TYPE=”submit”></BUTTON>

Buttons with color <INPUT TITLE="Send" TYPE="button" STYLE="background:ff00ff"
            VALUE="Send It!”>

Input text box <TEXTAREA NAME=”comment” ROWS=”6” COLS=”40></TEXTAREA>

Input text box: NAME is what the name of the box appears as. See above.

Input text box: ROWS tells how many lines they have to type on. See 2 above.

Input text box: COLS tells how long the box is across the screen. See 3 above.

Input field, within form <INPUT TYPE=”text” NAME=”Name” SIZE=”30”> See below.

Input field: NAME is what the name of the field appears as. See 2 above.

Input field: SIZE is how long the field box is on the page. See 3 above.

Input field: TYPE signifies the kind of data. See above.

Input field as Image <INPUT TYPE=”image” SRC=”what.gif”> Use regular image codes.

Link, clickable button as. See below and below 2.
<FORM METHOD=”link” ACTION=”link.html”>
<INPUT TYPE=”submit” VALUE=”Whatever you want to say”></FORM>

Link, Image form as, with no active hand over. See below and below 2.
<FORM METHOD=”link” ACTION=”index.html”>
<INPUT TYPE=”image” SRC=”image.gif” WIDTH=”1” HEIGHT=”1” BORDER=”0”>

Pop up box <SELECT NAME=”Favorite Color” SIZE=”1”></SELECT>

Pop up box: NAME selects a category name.

Pop up box: SIZE equals how many choices show at once.

Pop up box, Multiple choices <SELECT MULTIPLE><SELECT>

Pop up box, Options <OPTION>Red

Pop up box, Option which box starts on <OPTION SELECTED>Blue

Style commands: change text color or background via this kind of coding
<INPUT TYPE=”text” STYLE=”background:F8F8FF” VALUE=”x”> or “color:F8F8FF”

Submit Form <INPUT TYPE=”submit” VALUE=”Submit Query”>

Submit Form, not, clear Form <INPUT TYPE=”reset” VALUE=”Clear Form”>

Tab Index, creates order for use of tab key <INPUT . . . TABINDEX=”1”>

Titles onMouseover <INPUT TITLE=”See?” TYPE=”radio” NAME=”stuff” VALUE=”x”>