HTML/요소

input 태그

dev-in-daily-life 2021. 7. 16. 13:50
반응형

- 사용자가 데이터를 입력하는 요소

- 인라인-블록 요소

 

<body>

  <input type="text" />

</body>

 

캡처1. input 요소.

 => 사용자가 입력할 수 있다.

 

- 여러 가지 type이 존재

 

<body>

  <input type="text" />

  <input type="checkbox">

  <input type="radio" name="g1">

  <input type="radio" name="g1">

</body>

 

캡처2. 여러 가지 타입

반응형