<hr style="width: 100%; height: 2px;"><a name="HTML"></a>HTML Form and
Widgets<br>
<br>
<b>Textfield :</b>
<form method="post" action="cgi.cgi">Enter your Name:&nbsp;<input name="yourName"><b><font color="#ff0000">text
field using </font><font color="#0000ff">default type=text</font></b>
  <p>1. Enter your Address:&nbsp;<input name="yourAddress" size="50" maxlength="180" type="text"><b>text
field using <font color="#0000ff">SIZE</font> and <font color="#0000ff">MAXLENGTH</font></b> </p>
  <p>2. Enter your City:&nbsp;<input name="yourCity" size="19" type="text">3.
Enter your State:&nbsp;<input name="yourState" size="2" maxlength="2" type="text">4.
Enter your Country:&nbsp;<input name="yourCountry" size="2" maxlength="2" value="US" type="text"><img src="htmlpage_files/red_arrow_l.gif" height="13" width="13"><b><font color="#ff0000">text
field using </font><font color="#0000ff">value</font></b> </p>
  <p>5. Enter your Zip:&nbsp;<input name="yourZip" size="10" maxlength="10" type="text"> </p>
  <p>6. What happens when a fixed-width font(the default) is used for a
one-byte
text input area, let's try it.. Enter one character:&nbsp;<input name="One-byte" value="" size="1" maxlength="1" type="text"> <br>
  </p>
  <hr><b>&nbsp;CheckBox:</b>
  <h2>What are your favorite pets?</h2>
  <input name="bird" value="bird" type="checkbox">bird <br>
  <input name="fish" value="fish" type="checkbox">fish <br>
  <input name="wild" value="wild animal" type="checkbox">wild animal <br>
  <hr width="100%"> <br>
  <b>Radio Buttons:</b>
  <h2>Would type of wine do you like?</h2>
  <input name="wine" value="cabernet sauvignon" checked="checked" type="radio">cabernet
sauvignon <br>
  <input name="wine" value="merlot" type="radio">merlot <br>
  <input name="wine" value="nebbiolo" type="radio">nebbiolo <br>
  <input name="wine" value="pinot noir" type="radio">pinot noir <br>
  <input name="wine" value="none" type="radio">don't drink wine <br>
</form>
