In proper HTML, must an <input> be in a <form>?

Posted by Claudiu on Stack Overflow See other posts from Stack Overflow or by Claudiu
Published on 2010-05-19T00:14:17Z Indexed on 2010/05/19 0:20 UTC
Read the original article Hit count: 546

Filed under:
|
|
|
|

I need a few input elements, but their values won't be submitted anywhere - they're just going to be manipulated by some client-side JavaScript. Do I have to place them in a <form> to have legit HTML, or can they just be free-standing?

© Stack Overflow or respective owner

Related posts about html

Related posts about specifications