Question about Forms

Is it appropriate to use a form inside a div tag? example

<div class="section" <form <label for="example" Example</label <input type="radio" id="example" name="example" </form </div

and if not could i just apply the class directly to the form element?

div and span tags have no intrinsic meaning, so you can use them basically anywhere you like (unless doing so breaks some very specific hierarchies, such as table > thead or ul > li).

It’s best to avoid adding extra elements where you don’t need to, though, for performance reasons if nothing else. Try styling the form element itself, and if you need finer-grained control, then try wrapping it in the div.

awesome thank you. Its a boat load of inputs/labels.