HTML&CSS
form에 사용된 시간 날짜 요소
Linda~!
2020. 3. 5. 10:06
더보기
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h3>form에 사용된 시간 날짜 요소</h3>
<form method="get">
month : <input type="month"><br>
week : <input type="week"><br>
date : <input type="date"><br>
time : <input type="time"><br>
datetime-local : <input type="datetime-local"><br>
</form>
</body>
</html>
<!--html로 시간 날짜 구현할 수 있지만 부족하면 Javascript로 할 수 있어요!-->