Why use

前端 未结 8 2030
时光说笑
时光说笑 2020-12-13 23:58

From a presentation perspective, if I write a text between a tag it looks identical as to if I hadn\'t.

So, why do we use this tag at all?

8条回答
  •  难免孤独
    2020-12-14 00:27

    When you click on the label, the focus goes to the related input. Very handy for checkboxes when it is hard to hit the small rectangle.

提交回复
热议问题