[thelist] <fieldset> and <legend> vs <h2>

Robert O'Rourke rob at sanchothefat.com
Wed Jun 27 09:41:41 CDT 2007


Ben Glassman wrote:
> On 6/27/07, Robert O'Rourke <rob at sanchothefat.com> wrote:
>
>   
>>> Bill Moseley wrote:
>>>       
>>>> I tend to use fieldsets with every form, even for forms that have a
>>>>         
>> few
>>     
>>>> elements.
>>>>
>>>>         
>>> In XHTML strict it's a requirement so I stick to as a coding standard.
>>>       
>
> Does this mean that the w3.org validator is missing support for validating
> this? I routinely use fieldsets without legends for consistency in my code
> and have never received an error or warning.
>
> Ben
>   

No I meant that form fields are required to be inside a fieldset but 
I've had no validation problems with not using a legend. Sorry I didn't 
make it clear.

Rob



More information about the thelist mailing list