Posted by Steven Saunderson on 02/14/07 08:16
On Tue, 13 Feb 2007 18:51:57 -0600, Bergamot <bergamot@visi.com> wrote:
> Steven Saunderson wrote:
> >
> > Does a fieldset have to be inside a form ? I gather it is intended to
> > be so but I couldn't find any spec saying it is only allowed in a form.
>
> http://www.w3.org/TR/html401/interact/forms.html#edef-FIELDSET
>
> "17.10 Adding structure to *forms*: the FIELDSET and LEGEND elements"
Yes, I read this and it and it implies fieldset is for forms. But
<!ENTITY % block
"P | %heading; | %list; | %preformatted; | DL | DIV | NOSCRIPT |
BLOCKQUOTE | FORM | HR | TABLE | FIELDSET | ADDRESS">
shows no such restriction.
> Fieldset doesn't make a lot of sense outside of forms.
I saw a good use of fieldset in a cPanel web log report. It provides a
simple way to group requests for each host and include the IP address in
the top border. I decided to use fieldset for a change log but if it is
improper or immoral or something like that then I'd better fix my page.
--
Steven
[Back to original message]
|