Website registration page

Source: Internet
Author: User

1. Form Label

All form items that need to be submitted to the server side must be <form></form> enclosed!

Form Tag Properties: Action, the location of the entire form submission (can be a page, or it can be a background Java code)

method, form submission method (Get/post/delete ... ETC 7 kinds)

What is the difference between Get and post submission methods? "Default submission method is get"

Get Submit mode, all content displayed in the address bar, not safe enough, the length is limited.

Post submission method, all content will not be displayed in the Address bar, more secure, no limit on length.

1) Text entry
<input type= "text" name= "size=" "maxlenght=" "readonly=" "placehoder=" "/>
Name sets the property that must be specified on the server side, and its value can be arbitrary, it is recommended to see the text
Size Specifies the width of the input box
maxlenght Specifies the length of the input content
ReadOnly is set to read-only
Placehoder Setting the input information

2) Password entry

<input type= "password" name= ""/>
3) radio button
<input type= "Radio" name= "" value= "" checked= ""/>

Name set Group

Value sets the property that must be specified for submission to the server, and its value can be arbitrary, suggesting that the text is understood
Checked set Default check

4) Multi-select button
<input type= "checkbox" Name= "value=" "checked=" "/>

5) drop-down list
<select name= "" >

<option value= "" selected= "> Beijing </option>

<option> Shanghai </option>

</select>

Name set Group
Value sets the property that must be specified for submission to the server, and its value can be arbitrary, suggesting that the text is understood
Selected selected by default

6) File Upload item
<input type= "file" Name= ""/>
7) Text input field
<textarea name= "" ></textarea>

8) Submit button

<input type= "Submit" value= ""/>

Submit has the ability to submit the entire form to the server
Value modifies the contents of the button above
9) Normal button
<input type= "button" value= ""/>
10) Reset button
<input type= "reset" value= ""/>
11) Hidden Items
<input type= "hidden" name= ""/>

Some information that is sensitive to the user.

2. Implement the following website registration page style:

Step Analysis:

1) Create a table of five rows and then implement each row separately

2) The 1245th line, and the previous site home page display, directly copied over, no longer repeat

3) The third line places a form, which is laid out by a table label.

3, the code shows as follows:

Press CTRL + C to copy the code<textarea></textarea>Press CTRL + C to copy the code

Run inside the browser, as shown on the site registration page.

Website registration page

Related Article

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.