Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What are implicit and explicit tags in html?

user-image
Question added by harjinder Singh
Date Posted: 2016/08/28
Pathan Zarrar Khadar Khan
by Pathan Zarrar Khadar Khan , Windows System Administrator , Dyce Tech Pvt Ltd

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">

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.