35 lines
1008 B
HTML
35 lines
1008 B
HTML
<html>
|
|
<title>Example 8</title>
|
|
<body>
|
|
|
|
<H1>Example 8: Forms</H1>
|
|
|
|
<BR>
|
|
<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>
|
|
|
|
<BR>
|
|
<FORM METHOD="GET" ACTION="http://www.mcp.com/cgi-bin/post-query" NAME="echo">
|
|
<textarea name=a textarea rows=4 cols=20 value="a text area in need of some clearing"></textarea>
|
|
a checkbox: <input type=checkbox name=check1 checked>
|
|
radio buttons:
|
|
<input type=radio name=group1 checked> radio1
|
|
<input type=radio name=group1> radio2
|
|
<BR>
|
|
<P>select/option hacks; why don't these line up</P>
|
|
<input type=select1>
|
|
<input type=select2>
|
|
<input type=select3>
|
|
<BR>
|
|
<input type=reset name=reset value="RESET">
|
|
<input type=submit name=submit value="SUBMIT">
|
|
|
|
</form>
|
|
</body>
|
|
</html>
|