[thelist] "forms' in CSS

Egor Kloos studio at dutchcelt.nl
Wed Aug 27 19:42:30 CDT 2003


> my only disagreement is the use of <p> tags as the
> structural container for the form field and it's label, but
> I guess it's personal preference, since it validates either way.

Well even if it is personal preference it still wrong, even if it 
validates.
So I've corrected it. The structural container is now a <div> and not a 
<p>.
<p> is a paragraph of text and not a structural container, so it's use 
in this case isn't semantic.

Markup should validate and be semantic, this is a good article on the 
subject:
http://www.kottke.org/03/08/030826standards_do.html


Egor Kloos
http://www.dutchcelt.nl/



More information about the thelist mailing list