XHTML form Label

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.