代码如下:
<FORM>
<LABEL FOR="Namebox" ACCESSKEY="N">姓 名(<U>N</U>):</LABEL>
<INPUT TYPE="TEXT" ID="Namebox" SIZE=30> <br>
<LABEL FOR="Emailbox" ACCESSKEY="E">电子邮件(<U>E</U>):</LABEL>
<INPUT TYPE="TEXT" ID="Emailbox" SIZE=30> <br>
<LABEL FOR="Phonebox" ACCESSKEY="P">联系电话(<U>P</U>):</LABEL>
<INPUT TYPE="TEXT" ID="Phonebox" SIZE=30> <br>
<LABEL FOR="areabox" ACCESSKEY="S" >留 言(<U>S</U>):</LABEL>
<TEXTAREA ID="areabox" COLS="30" ROWS="3"></TEXTAREA> <br>
</FORM>
★可以点击文字选取的多项选择框:
<form>
<input type="CHECKBOX" id="check1" value="often" name="checkoften"><label for="check1" >经常来这里</label>
<input type="CHECKBOX" id="check2" value="seldom" name="checkseldom"><label for="check2" >偶尔来看看</label>
</form>
★带热键的多项选择框:
<form>
<input type="CHECKBOX" id="check3" value="often" name="checkoften"><label for="check3" ACCESSKEY="H">经常来这里(<U>H</U>)</label>
<input type="CHECKBOX" id="check4" value="seldom" name="checkseldom"><label for="check4" ACCESSKEY="L">偶尔来看看(<U>L</U>)</label>
</form>
[Ctrl+A 全选 提示:你可先修改部分代码,再点运行代码]
本文地址:http://com.8s8s.com/it/it30684.htm