表单基本语法

来源:百度知道 编辑:UC知道 时间:2024/04/28 11:56:58
表单的基本语法
<form action="url" method=*>
...
...
<input type=submit> <input type=reset>
</form>
*=GET, POST

表单中提供给用户的输入形式
<input type=* name=**>
*=text, password, checkbox, radio, image, hidden, submit, reset

**=Symbolic Name for CGI script

这些都没看懂...
谁能每一句解释一下啊?
而且写表单到底如何写呢??
谢谢!!
那GET和POST分别代表什麽呢?

< method=*> // 提交表单的动作是...也就是俗称的链接 例如form action="index.html" url是地址的意思 也就是表单提交到名为index.html的网页上去 method是提交方式 有get 和post
...
...
<input type=submit> <input type=reset>
</form>
*=GET, POST

<input type=* name=**>
*=text 文本
password, 密码框
checkbox 多选按钮
radio,单选按钮
image,图片链接
hidden,隐藏域
submit,提交按钮
reset 重置按钮