HTML check box and submit button combination settings

Source: Internet
Author: User

<!--in this HTML document we're going to write a check box that creates a
Effect, and contains a button when we click on the button after the check
Project, we will record this option and our results will be submitted to the server after we click Summit.
So how does this effect come true, let's take a look at this program
<! DOCTYPE html>
<meta charset= "Utf-8" >
<form name= "Input" action= "" method= "Get" >
I have a bike:
<input type= "checkbox" name= "vehicle" value= "Bike"
checked= "Checked" >
I have a car:
<input type= "checkbox" name= "vehicle" value= "Car"/>
I have an airplane:
<input type= "checkbox" name= "vehicle" value= "airplane"/>
<input type= "Submit" value= "Submit"/>
<p> If you click on the "Submit" button, you will transfer the input to the corresponding new page </p>
<!--Let's take a look at the introduction of this program: we're going to create a check box that uses the properties in the form
Name= "Input" action is a property that represents the interface to which we will send the following results, and then the
The value of method is to get the data from the Web page, and then we'll look at how to set the complex options
The use of all is input this tag, and the property inside is the type of the value of the checkbox, the first option of the property than the other
Attribute more than one checked this property, and then the value of name is the same, should because these complex options are a set of reasons
This completes the setting of the check box
Final Commit--

HTML check box and submit button combination settings

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: 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.