The general user interface for entering text is either the label on the left:
Email address: [____________________]
Or above the caption above the entrance:
Email address: [___________________________________]
However, for the checkbox, the common UI for the label appears after input, for example:
[x] Accept terms and conditions
In the first two cases, it greatly simplifies the CSS that you must create if the label is in front of the input in the markup. It can be argued that the shortcut may wrap around the input though, but it is important here that the text comes in front of the input.
In the third example (check box), the text appears after the label, and again CSS is greatly simplified by placing the label in the right place in the markup order (after input).
So, the flags will always be different from the rest of the inputs. As for wrapping a flag with a label, it was only a personal preference, although I would say that since the input flags are different, having the input inside the label makes it easy to configure these inputs for styling with CSS, because the markup is different.
Justin French Apr 27 '10 at 11:44 2010-04-27 11:44
source share