The only problem with this approach is that if you disable CSS the form loses it’s structure and becomes very difficult to complete. I favour an approach that uses a definition list with the label marked up as the definition term and the input field as the definition description (although this method precludes the ability to use the “belt and braces” label tag wrapping).
The only problem with this approach is that if you disable CSS the form loses it’s structure and becomes very difficult to complete. I favour an approach that uses a definition list with the label marked up as the definition term and the input field as the definition description (although this method precludes the ability to use the “belt and braces” label tag wrapping).