新建一个文本文档,将文件名改为*.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=""插入图片。
例子显示:
|
|
来自: 昵称5049124 > 《Dreamweaver编程学习》