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 Positioning elements in CSS
View
What does floating an element do in CSS ? How do you float an element?
View
Explain the basic table Structure . Create an HTML Document for the following figure.
OneTwo
ThreeFour

View
What is Responsive Design? Explain the components that make responsive web design. Why its important ? explain in detail.
View
Frames in HTML
View
Differentiate between http get and post.
View
Form in HTML
View