新建一个文本文档,将文件名改为*.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文本区域、button按钮、checkbox多选按钮、file从外部引用、hide隐藏、image..src=""插入图片。
例子显示:
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。