https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_label
위 사이트에 들어가셔서 보시면
단순히 동그란 버튼을 누르지 않고 텍스트를 클릭해도 같이 작동하게 해주는 역할을 해줍니다.
<button>, <input>, <meter>, <output>, <progress>, <select>,<textarea> 요소에 적용이 가능하며
label태그의 for와 input등의 태그에서 id값이 동일 할 경우 묶어지죠
<p>Click on one of the text labels to toggle the related control:</p>
<label for="male">Male</label>
<input type="radio" name="gender" id="male" value="male"><br>
<label for="female">Female</label>
<input type="radio" name="gender" id="female" value="female"><br>
<label for="other">Other</label>
<input type="radio" name="gender" id="other" value="other"><br><br>