1998-04-13 20:24:54 +00:00
|
|
|
<html>
|
1998-04-15 19:23:17 +00:00
|
|
|
<title>Example 8</title>
|
1998-04-13 20:24:54 +00:00
|
|
|
<body>
|
1998-04-15 19:23:17 +00:00
|
|
|
|
1998-04-28 18:59:38 +00:00
|
|
|
<H1>Example 8: Forms</H1>
|
1998-04-24 21:37:30 +00:00
|
|
|
|
|
|
|
<BR>
|
1998-04-28 18:59:38 +00:00
|
|
|
<FORM METHOD="GET" ACTION="http://search.yahoo.com/bin/search" NAME="searchform">
|
|
|
|
<P> hey yahoo </P>
|
|
|
|
<INPUT TYPE="TEXT" NAME="p" SIZE=15 MAXLENGTH=80>
|
|
|
|
<INPUT TYPE="submit" VALUE="Search">
|
|
|
|
<INPUT TYPE="HIDDEN" NAME="a" VALUE="n">
|
|
|
|
password: <INPUT TYPE="PASSWORD">
|
|
|
|
</FORM>
|
|
|
|
|
1998-04-24 21:37:30 +00:00
|
|
|
<BR>
|
1998-04-28 18:59:38 +00:00
|
|
|
<FORM METHOD="GET" ACTION="http://www.mcp.com/cgi-bin/post-query" NAME="echo">
|
1998-05-08 20:18:06 +00:00
|
|
|
<textarea name=a textarea rows=4 cols=20 value="a textarea">A TEXTAREA</textarea>
|
1998-04-28 18:59:38 +00:00
|
|
|
a checkbox: <input type=checkbox name=check1 checked>
|
|
|
|
radio buttons:
|
1998-05-01 23:18:44 +00:00
|
|
|
<input type=radio name=group1> radio1
|
|
|
|
<input type=radio name=group1 checked> radio2
|
1998-04-24 21:37:30 +00:00
|
|
|
<BR>
|
1998-04-28 18:59:38 +00:00
|
|
|
<P>select/option hacks; why don't these line up</P>
|
|
|
|
<input type=select1>
|
|
|
|
<input type=select2>
|
|
|
|
<input type=select3>
|
1998-04-24 21:37:30 +00:00
|
|
|
<BR>
|
|
|
|
<input type=reset name=reset value="RESET">
|
|
|
|
<input type=submit name=submit value="SUBMIT">
|
1998-05-01 23:18:44 +00:00
|
|
|
<input type=image src=raptor.jpg width=50 height=50 name=imageSubmit> an image submit. For now, click twice.
|
1998-04-15 19:23:17 +00:00
|
|
|
|
1998-04-13 20:24:54 +00:00
|
|
|
</form>
|
|
|
|
</body>
|
|
|
|
</html>
|