label表单的关联性

<input type="checkbox" id="cr" /> <label for="cr">点击关联复选框</label>

input
其他类型也可以用label来关联 例如:type="radio"
原文地址:https://www.cnblogs.com/Model-Zachary/p/6297762.html