
插入表单后,在文档中将显示一个红色的虚线框。【属性】面板中也会更新相应的属性。用户可以通过【属性】面板设置表单的相关参数,如表6-16所示。

用户还可以通过单击【代码】按钮,切换到代码视图,在该视图中输入"<form></form>”代码来插入表单。
在定义表单域后,可以为表单域添加各种表单对象。在表单域中,将光标定位在要插入表单对象的位置,然后在【表单】选项卡中选择需要插入的表单对象。在Dreamweaver中支持的表单对象共有13种,如表6-17所示。

在网页中插入这些表单可以实现丰富的交互功能。需要注意,处理同一个数据的多个表单对象必须处于同一个表单中。在网页中添加表单对象,首先应为网页添加表单,并在【属性】面板中设置表单的名称,如图6-29所示。

用鼠标单击选择表单,然后在【插入】工具栏中单击相应的表单对象,将其插入到表单中,如图6-30所示。
