Hello Michael and hello everyone,
I haven’t been there for a while, now I’m reading the How to structure a web form article, and in The <label>
element part is a paragraph telling that
There is another way to associate a form control with a label — nest the form control within the
<label>
, implicitly associating it.
And below is a screenshot, where seems to me is a mistake? When we wrap up the input in such a way, we should omit the for
attribute?
Kind regards,
Denis