Is it possible to use label in h3? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 3

Is it possible to use label in h3?

<h3><label for="fio">* Your name</label></h3> <input required="required" id="fio" type="text" name="fio" maxlength="60" size="50">

7th May 2019, 6:19 PM
Grigoriy
Grigoriy - avatar
1 Respuesta
+ 2
Yes of course. In this case, <label> increases the activation field <input>. That is, there is no need to aim directly at <input>, you can click on "* Your name" and the input is activated.☺
7th May 2019, 7:28 PM
Solo
Solo - avatar