Html Label For 属性

<input type="checkbox" id="chkEnable" checked="checked" />
<label for="chkEnable">Enable</label>
label 的作用是为for后的控件服务的,当点击label的字体时,控件也做相应的变化
原文地址:https://www.cnblogs.com/zhangpengshou/p/1215654.html