lable 的for属性 勾选框与lable

lable 的for属性
2008-07-11 19:24

<input type="radio" name="d" id='ra_0' checked="checked"/><label for="ra_0">全部</label>&nbsp;&nbsp;
<input type="radio" id='ra_1' name="d" /><label for="ra_1">BT</label>&nbsp;&nbsp;
<input type="radio" id='ra_2' name="d"><label for="ra_2">电驴</label>&nbsp;&nbsp;
<input type="radio" id='ra_3' name="d" /><label for="ra_3">影片信息(按演员、导演、片名)</label>

作用:让用户的选择区域更大

原文地址:https://www.cnblogs.com/lovablebox/p/1295659.html