cthulhu/test/html/simpleform.html

51 lines
1.7 KiB
HTML

<html>
<form>
<p>Type something here:
<input name="something" size="22" type="text"></input>
</p>
<p>Magic disappearing text trick:
<input value="tab to me and I disappear" onFocus="if(this.value=='tab to me and I disappear')this.value='';" name="magic" size="22" type="text"></input>
</p>
<p>
Tell me a secret:
<input name="secret" type="password"></input>
</p>
<p>
Tell me a little more about yourself:<br>
<textarea name="self" rows="5" cols="40">I am a monkey with a long tail. I like to swing from trees and eat bananas. I've recently taken up typing and plan to write my memoirs.
</textarea>
</p>
<p>
Check one or more:
<input id="cb1" type="checkbox"/><label for="cb1">Red</label>
<input id="cb2" type="checkbox"/><label for="cb2">Blue</label>
<input id="cb3" type="checkbox"/><label for="cb3">Green</label>
</p>
<p>
Make a selection:
<select name="beverage">
<option>Water</option>
<option>Soda</option>
<option>Beer</option>
<option>Wine</option>
<option>Whiskey</option>
</select>
</p>
<p>
Which sports do you like?<br>
<select name="sports" multiple="multiple" size="3">
<option>Hockey</option>
<option>Basketball</option>
<option>Football</option>
<option>Baseball</option>
</select>
</p>
<p>
<image src="willie-walker.gif" title="Dashing picture of Willie Walker" alt="Dashing picture of Willie Walker"/><br>
Ain't he handsome (please say yes)?
<input name="yes" value="Y" type="radio">Yes</input>
<input name="no" value="N" type="radio">No</input>
</p>
</form>
</html>