Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You basically asked two questions:</p> <p>If it's semantically correct your example and if you can nest fielset elements.</p> <p>Some answers given here were wrong.</p> <p><strong>It is syntactically correct, but not semantically correct and you can nest fieldset elements.</strong></p> <p>It is not semantically correct for the very reason that a form it's not a <em>presentational</em> element. Tables are used to display information in rows and columns where you clearly not doing that. A table is not a prop for making good your form and this is how you used it.</p> <p>Some suggestions you may follow come next.</p> <p>Referencing the HTML5 standard, I quote from the proposal document: "Each part of a form is considered a paragraph, and is typically separated from other parts using p elements."</p> <p><a href="http://dev.w3.org/html5/spec/single-page.htm" rel="noreferrer">http://dev.w3.org/html5/spec/single-page.htm</a> section 4.10</p> <p><a href="http://dev.w3.org/html5/spec-LC/forms.html" rel="noreferrer">http://dev.w3.org/html5/spec-LC/forms.html</a></p> <p>Should answer the nesting question as well.</p> <p>The question, I guess, arise from the wish of knowing how to section form content. The answer is with fieldsets. The form itself has a meaning, so "yes", it will be a fieldset that will contain all form elements (and it may be disabled).</p> <p>Coming back to your example, you will have a fieldset for "registration" and sections of the registration grouped by nested fieldsets, as one such section in your example is the "address".</p> <p>The "better" way of making a form... it depends and I guess it is another question that will remain open to debates until the HTML5 will be ready and implemented correctly in all browsers.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload