Write short note on radio buttons and check boxes?


RADIO BUTTONS -

 Radio buttons are useful when you want the user to select a single item from a small list of choices and you want all the choices to be visible.

 Radio buttons are added via the element.

 The buttons are made mutually exclusive (i.e., only one can be chosen) by sharing the same name attribute.

 The checked attribute is used to indicate the default choice, while the value attribute works in the same manner as with theelement.

CHECKBOXES  Checkboxes are used for getting yes/no or on/off responses from the user.

 Checkboxes are added via the element.

 We can also group checkboxes together by having them share the same name attribute.

 Each checked checkbox will have its value sent to the server.

 Like with radio buttons, the checked attribute can be used to set the default value of a checkbox



Share to whatsapp

More Questions from Web Technology and its Applications Module 2

Explain the basic table Structure . Create an HTML Document for the following figure.
OneTwo
ThreeFour

View
Explain Positioning Elements in CSS?
(or)
Explain the different ways of position Elements In CSS layout techniques
View
Form in HTML
View
Approaches to CSS Layout .
Explain fixed Layout and Liquid Layout with example each. List liquid and Fixed layout Advantages and limitations.
View
What does floating an element do in CSS ? How do you float an element?
View
Discuss <table> element along row spanning and column
View
Compare/Difference between radio button and checkbox controls of HTML 5 with Examples.
View