I\'ve come across a few examples recently that do things like:
- Full Name:
-
I've successfully used the technique outlined in this article several times.
I agree with sjstrutt that you should use form related tags like label
and form
in you forms, but the HTML outlined in his example, will often lack some code you can use as "hooks" for styling your form with CSS.
As a consequence of this I markup my forms like this:
This approach leaves me with a comprehensible set of tags, which contains enough hooks to style the forms in a lot of different ways.