HTML section---form;

Source: Internet
Author: User

<action= "aa.html"  method= "post/get">

/*action's role is to submit to: methed is the commit method, with the post address does not display the page form name content, with the get address to display the content of the submitted name */

Property

/* the Name property must be written in addition to the button */
/* the form of the button class must be written value*/

Disabled= "disabled" is not available, nor submitted;
hidden= "hidden" Hidden
readonly= "readonly" means read-only, not writable;
Checked= "checked" is used in the single-selection check, which means the default is selected;
Selected= "selected" is used in the Drop-down list, which means the default is selected;

/* text Box */

text Box<inputtype= "text"name= "yhm"value= "hello"/><BR/>Password<inputtype= "password"name= "mm"value= "123"/><BR/>Hidden Fields<inputtype= "hidden"name= "yc"value= "qq"/><BR/>text Field<textareacols= "+"rows= "9"></textarea>/*30 characters, 9 Lines */<BR/>

/* Button Class */

Submit button<inputtype= "submit"value= "submit"/><BR/>/ * Submit button, the button will submit all the data of the current page, the limited submission form of value, if not, then submit the label text, submit to aa.html, Post the method of submission * /reset button<inputtype= "reset"value= "reset"/><BR/>/ * Reset the current page */picture button<inputtype= "image"src= "psb.jpg"width= "$"Height= "$"value= "tupian"><BR/>/ * Also belongs to the submit button, you can submit the current page to Aa. Html*/normal Button<inputtype= "button"value= "normal"><BR>

/* Select Class */

Radio<inputtype= "radio"name= "sex"/>Man<BR/><inputtype= "radio"name= "sex"/>Woman<BR/>/*name values are the same, different is multi-select */check<inputtype= "checkbox"name= "aihao"/>Music<BR/><inputtype= "checkbox"name= "aihao"/>Sports<BR/><inputtype= "checkbox"name= "aihao"/>Learn<BR/>Select<Selectname= "nation"size= "1" ><optionvalue= "001">Han</option><BR/><optionvalue= "002">Korean</option><BR/><optionvalue= "003">Manchu</option><BR/></Select>

File

<type= "file"/>

HTML section---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.