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.
I was wondering if I can use the fieldset tag without being inside a
Share
It’s valid HTML5. Paste the following HTML at the validator: http://validator.w3.org/check:
It’s also valid HTML4. Replace
<!DOCTYPE html>with the following, and it still passes the validation: