Files
freeCodeCamp/guide/chinese/css/forms/index.md
2018-10-16 21:32:40 +05:30

20 lines
438 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Forms
localeTitle: 形式
---
## 形式
HTML表单元素定义用于收集用户输入的表单。 例子:
```html
<form>
contents
</form>
```
HTML表单包含表单元素。
表单元素是不同类型的输入元素,如文本字段,复选框,单选按钮,提交按钮等。
在表单标签内部还有一些重要的属性: -action数据将发送到的页面 -method请求类型'GET'和'POST'