Computer Science, asked by nazalways8149, 11 months ago

What are label.how are they added to the form

Answers

Answered by gurukulamdivya
0

Answer:

The <label> element is used to associate a text label with a form <input> field. The label is used to tell users the value that should be entered in the associated input field.

Ex:

<form>

<label for="favorite-animal">Favorite Animal</label><br>

<input name="favorite-animal" id="favorite-animal">

</form>

Similar questions