The HTML Form - Radio Button and Checkbox Input Tags - 3

The HTML Form - Radio Button and Checkbox Input Tags - 3

Checkbox Input Tag

The checkbox input tag works in the same way as the radio button input tag with two exceptions. The name attribute will be set to “checkbox” which will create one check box for each input tag on the web form. Secondly, where the radio input tag will not allow two radio buttons in the group to be selected at the same time, the checkbox input tag is used when you want your readers to be able to select more then one.

The HTML checkbox input tag

<input type="checkbox" name="color" value="Red"> Red
<input type="checkbox" name="color" value="White"> White
<input type="checkbox" name="color" value="Blue"> Blue

What it will look like


← Back

♦♦If you are interested in creating a website with HTML, you might be interested in reading the HTML Basics Series which will teach you the basics of HTML as you build a simple three-page website and create a webpage template that you can use to add more pages to this site.

♦♦You might also want to try the Flash Basics Series that will walk you through the process of building a website with MacromediaR FlashR. If you are new to Flash or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to be able to create a simple Flash based website.

This site needs an editor - click to learn more!

Related Articles
Editor's Picks Articles
Top Ten Articles
Previous Features
Site Map

Content copyright © 2022 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact BellaOnline Administration for details.