Victor Ibasco11,035 Points
HTML - Radio Button - Label Proceeds Input - Why
Hi ! I'm going through the HTML Forms Course and I am wondering why the LABEL element proceeds the Input RATHER than precedes.
You see, before this I have seen that the label elements have typically preceded the input as it . . . does any of this matter?
I want to know best practices and any extra information from blogs or just your opinion.
Steven Parker176,280 Points
Because there is a creative aspect to form layout, I'm not sure this is a "best practice" issue.
But I think it's common for labels to precede a control unless that control is a checkbox or radio button. This will give the form a familiar look, but other choices might be made for creative purposes.