www.pickatutorial.com Computer Tutorials
Top eBooks: C/C++ | C# | Android | Mathematics | Database | Cloud | Graphics | Networking | Oracle | Hardware | AI
Top Tutorials: C/C++ | C#.NET | PHP MySQL | Java | Java Script | jQuery | HTML | xHTML | HTML5 | VB Script| CSS
Lessons Radio, Select and Checkbox Bookmark and Share
Tutorial Home
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Lesson 5
Lesson 6
Lesson 7
Lesson 8
Lesson 9
Lesson 10
Lesson 11
Lesson 12
Lesson 13
Lesson 14
Lesson 15
Lesson 16
Lesson 17
Lesson 18
Lesson 19
Lesson 20
Lesson 21
Lesson 22
Lesson 23
Lesson 24
Lesson 25
Lesson 26
Lesson 27
Lesson 28
Lesson 29
Lesson 30
Lesson 31
Lesson 32
Lesson 33
Lesson 34
Lesson 35
Lesson 36
Radio Option:

The radio option is used when we need to offer the user one of the given options. The code required to add radio option to an HTML form is as under: This is a radio option<input type="radio" name="rd">

The output will be:

This is a radio option

Select Field:

The select field is like a drop-down menu. It can be added to a web page as under:

This is a select field
<select name="test">
<option>Item 1</option>
<option>Item 2</option>
<option>Item 3</option>
</select>

The output will be:

This is a select field
<select> tag is used to define a select field. <option> tags enclosed within <select> and </select> tags specify different options that will be available to the user. You can add as many <option> tags as you need.

Check Box:

A check box can be added to a web page as under:

This is a checkbox<input type="checkbox" name="chb">

The output will be:

This is a checkbox

We use checkboxes when we require the user to choose any number of items from the given list of items.


Next >>> Lesson No. 33: HTML Buttons





Home - Advertise - Contact - Disclaimer - About Us
© Since 2006 pickatutorial.com -- All Rights Reserved.