<input type="radio/checkbox">设置标签的方式:
- 简洁版:不加label标签,直接<input>yyy,其中yyy是标签,下同
- 进阶版:<label><input>yyy</label>
- 最终版:<input id="xxx"><label for="xxx">yyy</label>,其中label的for标签要和input的id标签对应
【html基础】单选和多选input设置标签的方式
最新推荐文章于 2023-10-31 22:09:55 发布