我刚在 HTML 标签的 label 属性中看到了一个 for
参数:
<label for="required-firstname"> First Name </label>
<small>*</small>
<input name="required-firstname" type="text" tabindex="2"
id="required-firstname" size="24" maxlength="40">
我正在将这个表单转换为PHP处理的脚本,我可以去掉for=参数吗? (顺便问一下,它是做什么用的?)
我正在将此表单转换为 PHP 处理的脚本,是否可以省略 for= 参数? 顺便问一下,它的作用是什么?