Alex Rivera | Logout

Is it wrong to use the fieldset tag without form tag?

Asked 2012-03-21T21:08:51.250
47

I was wondering if I can use the fieldset tag without being inside a form. Because I like the way it encloses the legend & the border stuff around the inner html. When I use it to enclose li element, it does behave like its actually there(visual) inside a form.

Edit
Report

1 Answer

7

One thing to keep in mind is that you should separate structure and design. Do you want a fieldset because it is a fieldset or because the fieldset looks nice?

See also:

answered 2012-03-22T00:13:25.467

Your Answer