أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
Explicit labels correct all the limitations of implicit labels, but added a small price in the form: complexity. Implicit labels use the <LABEL> tag, but add the FOR attribute to indicate the associated element. This is best shown with a simple example:
<LABEL FOR="name_field">Name: </LABEL>This label will be associated with the form element whose ID attribute has the value name_field. Somewhere in the page containing the label, you need to create this input element:
<INPUT TYPE="text" ID="name_field">