Form Labels <form>
The form begins with a <form> tag. The user registers the website member, the vote and so on all needs the form to realize. Of course, it's not possible to process these forms just by relying on XHTML, and if you want to work with them, you'll need to use some kind of web-background technology like PHP and ASP. By the way, the rookie's own backstage is still very vegetable. )
<input> within the form
Here are two common form elements:
1. Text box
<form> Name: <inputtype= "text" name= "user"/><br/></form>
Name:
2. Password box
<form> Name: <inputtype= "password" name= "pass"/><br/></form>
Password:
As you can see, both form elements use the <input> tag, but the contents of the Password box are not visible. The value of the property "type" of the <input> tag is determined by their type. For example, text is a textbox, and password is a password. You should have noticed that the,<imput> tag is also an empty label. He did not terminate the label. We must remember to add a "/" at the back to conform to the XHTML requirements.
There are many commonly used form elements, such as radio and double dressing, but since we cannot process the form now, we cannot understand the meaning of the form. So here is not introduced, if you continue to learn the background technology, you will naturally understand the form in the station to play a role.