<.form id="registation action="www.example.com/cgi-bin/registration" "method="post">
<./post>
The name attribute provides the name of the data field, but the id attribute provides the id for the control element in which the user enters the field value.
<.fieldset><.legend>Contact Information<./legend>
<./fieldset>
With an input box for telephone numbers, it is more convenient to have digits (instead of alphabetic characters) prominently displayed on the keyboard.
By either nesting the control element within a label element or by using the for attribute to associate a label with a control element by its id.
Top comments (0)