Posts

Showing posts with the label box

ADDING A CHECKBOX IN HTML

Image
ADDING CHECKBOX IN HTML. checkbox A  checkbox  ( check box ,  tick box ,  tick box ) is a  GUI widget  that permits the  user  to make a binary choice, i.e. a choice between one of two possible mutually exclusive options. For example, the user may have to answer 'yes' (checked) or 'no' (not checked) on a simple yes/no question. Check boxes are shown as ☐ when unchecked, or ☑ or ☒ (depending on the GUI) when checked. A caption describing the meaning of the checkbox is normally shown adjacent to the checkbox. Inverting the state of a checkbox is done by clicking the mouse on the box, or the caption, or by using a  keyboard shortcut , such as the  space bar . HOW TO CREATE CHECKBOX IN HTML checkbox is very simple to create it is as simple as radio button and text box so first we have to use label tag and specify its name. then use the input tag and specify type as checkbox  and close the input tag. EXAMPLE  OUTPUT

ADDING A TEXT BOX IN HTML..

Image
ADDING TEXT BOX  We can add multiple text box in a html page and we can enter and store the required text  adding a text box is very simple and its very simple to implement. THERE ARE FEW TERMINOLOGY AND SYNTAX REQUIRED TO BE FOLLOWED LABEL TAG we have to add label for the text box. In label we have to specify for.  after for we have to write the label. and the close the label tag. INPUT TAG  first open the tag and use input  specify the type  use the placeholder and place the holder specify the size of the box and text EXAMPLE                                              CODE  OUTPUT