Is it appropriate to use a form inside a div tag? example
<label for="example" Example</label
<input type="radio" id="example" name="example"
and if not could i just apply the class directly to the form element?
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
awesome thank you. Its a boat load of inputs/labels.