HTML and CSS Reference
In-Depth Information
form=" id of the form owner
id of the form owner "
Not in HTML 4.01 . Explicitly associates the fieldset with its associated form (its form
owner ). With this method, the fieldset does not need to be a child of the form element
that applies to it.
name=" text
text "
Not in HTML 4.01 . Assigns a name to the fieldset .
Example
<form>
<fieldset id="customer" >
<legend>Customer contact information</legend>
<label>Full name <input type="text" name="name">
</label>
<label>Email Address <input type="text" name="email">
</label>
<label>State <input type="text" name="state"></label>
</fieldset>
</form>
Search WWH ::




Custom Search