
<form>
<!-- 일반 글자 입력할 때 -->
<input type="text" value="초깃값" placeholder="배경글자" />
<!-- 패스워드 입력할 때 -->
<input type="password" name="이름" />
<!-- 이메일 입력할 때 -->
<input type="email" />
<!-- 날짜 입력할 때 -->
<input type="date" />
<!-- 체크박스 입력할 때 -->
<input type="check" />
<!-- 날짜 입력할 때 -->
<input type="radio" />
<!-- range 기능 -->
<input type="range" />
</form>
<select>
<option></option>
<option></option>
</select>

<form>
<input type="submit">
<button type="submit">전송</button>
</form>
/* css */
input[type=text] {
padding: 10px;
font-size: 20px;
border: 1px solid black;
border-radius: 5px;
}
<div class="w-40">
<input id="sub" type="checkbox" name="checkbox" />
<label for="sub">Subscribe</label>
<button type="submit" name="submit">SEND</button>
</div>
필요할 때마다 검색해서 쓰자!
<input onChange={() => { 코드 }} />
onChange, onInput을 쓴다.<input onMouseOver={() => { 코드 }} />
onMouseOver<input onScroll={() => { 코드 }} />
onScroll