Span inside form

I try to insert a hint inside form area. Is it allowed to put inside form?
An example:

<form action="" class=""><input type="text" class="" placeholder="" /><span>Do not click!</span></form>

Yes you can put any element you like inside a form (except another form).

Was there a specific problem you were having?

If you are not sure if a tag is allowed or not then just throw the code into the w3c validator and it will let you know and point out the problem.

1 Like

Thank you for the information.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.