ADDING A CHECKBOX IN HTML

ADDING CHECKBOX IN HTML.

checkbox

checkbox (check boxtick boxtick 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 

Comments

Popular posts from this blog

PROG9

ADDING TABLE IN HTML

PROG8