HTML label tag


Label does not have any style effects. It will trigger the corresponding form control function

For example, when click on the radio button or checkbox before, the corresponding text option can be selected.

example

<input name="gender" id="male" type="radio" value=""/>
<label for="male">Male</label>
Result :



Copyright 2014-2017 by DeveloperTut.com. All Rights Reserved.
TwitterGoogle+Facebook