新建一個文本文檔,將文件名改為*.html,將以下代碼打進去:
<html>
<form action="font001.htm" method=post>
<select name=fruits>
<option value=2>Banana</option>
<option value=1 selected>apple</option>
<option value=3>orange</option>
</select>
<input type=submit value="你喜歡什么水果" /><input type=reset />
</form>
</html>
注釋:<form></form>標簽是表單;<select></select>標簽是列表;<option><.option>是菜單;
<input type="" />:type=submit:提交、reset:重置、radio單選、password密碼、test文本區(qū)域、button按鈕、checkbox多選按鈕、file從外部引用、hide隱藏、image..src=""插入圖片。
例子顯示:
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請
點擊舉報。