A "label" element is an inline element that you can use to define a label for a form input field. Here are basic rules about a "label" element:
* "label" elements are inline elements. * "label" elements can only be used as sub-elements of "form" elements. * A "label" element can have empty content. * A "label" element can have text content. * A "label" element can have other inline elements as its sub-elements. * A "label" element should be linked to another form input field. The link is defined with <label for="linkID"> and <input id="linkID" ...>. * A "label" element will be displayed as a clickable text. When a label is clicked, the click will be applied to the linked input field.
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in OneStopFAQs.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.