HTML 26 <input type="checkbox"> 태그로 체크 박스 만들기

프론트엔드/HTML|2021. 3. 19. 13:25

 

취미 : 등산 독서 영화감상 음악감상
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <form>
    취미 : <input type="checkbox" name="hobby1">등산
    <input type="checkbox" name="hobby2" checked>독서
    <input type="checkbox" name="hobby3">영화감상
    <input type="checkbox" name="hobby3">음악감상
  </form>
</body>
</html>

댓글()
구독