html5 - What is the relationship between form and input tags in Html?
过去多啦不再A梦
过去多啦不再A梦 2017-05-16 13:36:23
0
3
880

In Html, what is the relationship between form and input tags?
Is there any affiliation between the two? I have seen that in many cases input is placed in the form and used . It is rarely used alone. What is the relationship between the two? Please give us a detailed introduction.

过去多啦不再A梦
过去多啦不再A梦

reply all(3)
仅有的幸福

Use it in

form就是表单,既然是表单,那么里面自然可以包含input,即输入控件。
当然一个form里一个input也没有(例如只有selecttextarea的表单)也是完全合法的。
input不一定要包含在form, but it will be more troublesome to submit when used alone (ajax and other technologies must be used).

巴扎黑

Put input in form

滿天的星座

Contains relationships, and there are input tags in the form.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template