This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
What purpose does it serve to wrap <p> around the form elements? It clutters the example, adds spacing that would need to be removed with CSS, and doesn't make sense semantically.
Per the HTML definition of <p> this makes perfect sense.
mass-move component to LC1
<p> elements are commonly used by web authors to wrap form elements. For instance, Django's form object provides an as_p convenience method for doing just that (as well as as_table and as_ul): https://docs.djangoproject.com/en/dev/topics/forms/#displaying-a-form-using-a-template In general, the examples in the spec use a variety of markup styles and conventions, to avoid implicitly endorsing one over the others.
I can live with that.