Form labels (options)

Source: Internet
Author: User

<!DOCTYPE HTML><HTML><Head><MetaCharSet= "Utf-8"><title>Untitled Document</title></Head><Body><form><inputtype= "Radio"name= "Sex"value= "Man">Man</BR><!--take sex selection as an example -<inputtype= "Radio"name= "Sex"value= "Woman">Woman</BR><!--a second option -<!--a normal split line. -Please choose your favorite cartoon characters (all my wife is not allowed to choose)<inputtype= "checkbox"name= "Name"value= "One">Long<!--Set the first check box -<inputtype= "checkbox"name= "Name"value= "both">Park<!--a second -<inputtype= "checkbox"name= "Name"value= "three">Royal Osaka-Mae Qin<BR/><!--It's a normal split line. -still choose (not optional)<Selectname= "Name"><!--Create a drop- down list -<optionvalue= "One">Long</option><!--values for each list -<optionvalue= "both">Park</option><optionvalue= "three"selected= "Selected">Royal Osaka-Mae Qin</option><!--the selected item is a predetermined primary value. -</Select></form></Body></HTML>

Another: drop-down option group

<!DOCTYPE HTML><HTML><Head><MetaCharSet= "Utf-8"><title>Untitled Document</title></Head><Body><Select><Optgrouplabel= "One"><optionvalue= "1">1</option><optionvalue= "2">2</option></Optgroup><Optgrouplabel= "Two"><optionvalue= "3">3</option><optionvalue= "4">4</option></Optgroup></Select></Body></HTML>

Form labels (options)

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.