Is INPUT tag valid when used outside of a FORM tag?

Here is an update from the “learn something new every day” department – using <input> tag outside of (or, in other words, without) <form> tag is perfectly valid.  It’s valid in the newest HTML5 spec, and it was valid with earlier versions of HTML and XHTML too.

Interesting, that today was the first time I came across this, after doing HTML for almost 20 years.

One thought on “Is INPUT tag valid when used outside of a FORM tag?”

Leave a Comment