Strict doctype - form and input element
Posted
by David
on Stack Overflow
See other posts from Stack Overflow
or by David
Published on 2010-06-05T23:51:27Z
Indexed on
2010/06/06
0:12 UTC
Read the original article
Hit count: 328
Does anyone know the reasoning behind the strict doctype not allowing input elements to be direct descendents of a form element. I find it annoying that i have to wrap a submit button which is a block level element inside another block level element say a fieldset or a div. However, I cannot find an answer anywhere as to why this actually is.
© Stack Overflow or respective owner