0
What is difference <label> input <label>and <label><label> after input ?
<label>do you like peas ? </label> <input type="checkbox" name="peas"> <label>do you like peas ? <input type="checkbox" name="peas"> </label>
1 Antwort
+ 2
Label tag act as a caption for input tags for example if you used a label with input type radio then if you will check the label text then also your radio will be checked.