강의

멘토링

커뮤니티

Inflearn Community Q&A

kha08285642's profile image
kha08285642

asked

The basics for sure!! Everything about HTML

form: label

label강의에서 for과 id관련

Written on

·

338

0

label로 전체를 감싸지 않을 때는 for과 id를 달아주고

label로 전체를 감쌀 때는 for과 id를 안달아도 되는데

왜 마지막에 label로 전체를 감쌌는데 for과 id를 또 다신건지 궁금합니다.

전체를 감싼것에 또 for과 id를 달면 안단것과 어떤 차이가 있는건가요?

HTML/CSS

Answer

This question is waiting for answers
Be the first to answer!
kha08285642's profile image
kha08285642

asked

Ask a question