HTML Getting Started table and form

Source: Internet
Author: User

<table></table> form Labels

Width width Border Border cellpadding The spacing between the contents and the cell cellspacing align alignment between cells

bgcolor background color Backgrou nd background plot cheat

<tr></tr> represents rows

Align horizontal alignment of content valign vertical alignment of content height row height bgcolor background color background background image

<td></td> Cell <th></th> Header cell contents are automatically centered and bold

Align horizontal alignment of cell contents valign the vertical alignment of cell contents width cell height of cell

bgcolor background color background background image

colspan= "N "Merge the same row of cells

Rowspan= "n" merges the same column cell

Form

<form></form> Forms

Name method Submission Method (get commit has a length limit and the encoded content in the address bar can see the post submission no length limit and the encoded Content address bar is not visible) action is responsible for handling the server address

<form name= "" method= "" action= "" ></form>

Text and buttons and select Single label <input/>

                 type= "Tag Properties" (text)                          ,         &NB Sp                          ,         &NB Sp                           &NBSP p>

                      &NB Sp      "text"             text box                                        ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp   

                      &NB Sp      "password"   Password box                       &NB Sp                          ,         &NB Sp                          ,         &NB Sp                        

"Hidden" hidden fields

Type= "Label Properties" (Button)

"Submit" submit button

"Reset" reset button

"Button" normal button

"Image" Picture button

Type= "Label Properties" (selection)

"Redio" radio button

CheckBox Multi-Select button

"File" Upload

The name value is used to group the value values that are used to commit the

<textarea></textarea> text field (large text box) cols characters How much property rows a few rows high property

<select></select> drop-down list size Select menu style multiple multiple selection

<option value= "value" > Content </option> (how many rows are written) Selected property is set as default

  

 

HTML Getting Started table and form

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.