给表单添加一个提交按钮
Add a Submit Button to a Form
让我们来为你的form添加一个submit
(提交)按钮,点击这个按钮,表单中的数据将会被发送到你通过action
属性指定的地址上。
下面是submit按钮的例子:
<button type="submit">this button submits the form</button>
为你的form
元素添加一个type为submit
的提交按钮,用"Submit"作按钮文本。
让我们来为你的form添加一个submit
(提交)按钮,点击这个按钮,表单中的数据将会被发送到你通过action
属性指定的地址上。
下面是submit按钮的例子:
<button type="submit">this button submits the form</button>
为你的form
元素添加一个type为submit
的提交按钮,用"Submit"作按钮文本。