Current location - Quotes Website - Signature design - & ltform name = "form" id = "form"> what do you mean?
& ltform name = "form" id = "form"> what do you mean?
The form tag of & ltform //HTML is used to submit the data in the form. What are the details? You can look up a lot. Here, let me give you an example. Www.w3school.com.cn made it very clear, and there are examples, which are suitable for beginners to learn.

Name="form" // The name attribute of the form, that is, its "name". When submitting a form, specify a page to get the value of the form, usually grabbing the value corresponding to the name attribute.

Id = "form" & gt// The ID attribute of the form, that is, the "ID number" of the form, is equivalent to adding a tag to this form in your HTML page, which is convenient for you to identify. Generally speaking, JS uses the ID attribute to associate more content in your HTML, and CSS also specifies its style for specific tags through the ID attribute.

In addition, it is best not to use specific tag names, such as td, tr, form, table, etc. Whether it is the name attribute or the id attribute, because some browsers will think that these specific names are tags when reading them, it will lead to errors in all the pages behind you.