<label for="step-example">2 단위로 입력:</label>
<input type="number" id="step-example" value="0" step="2">
실제 적용된 모습 해당 요소에 마우스 커서를 올려 이 컨트롤이 제공하는 인터페이스인 화살표(스피너)를 사용해 숫자를 올리거나 내려보세요.
숫자가 2씩 증가하거나 감소합니다.
<label for="number-to-show">표시할 번호</label>
<input type="number" id="number-to-show" value="7.0" step="0.1">
브라우저에서 실제 표시된 모습 해당 요소에 마우스 커서를 올려 이 컨트롤이 제공하는 인터페이스인 화살표(스피너)를 사용해 숫자를 올리거나 내려보세요.
숫자가 0.1씩 증가하거나 감소합니다.
<label for="user-date">날짜 선택</label>
<input type="date" id="user-date" value="2024-10-17" step="2">
브라우저에서 실제 표시된 모습
<label for="user-time">시간 선택</label>
<input type="time" id="user-time" value="09:30" step="120">
브라우저에서 실제 표시된 모습
<label for="user-time-1">분 단위까지 선택</label>
<input type="time" id="user-time-1" step="120"> <!-- 120은 60의 배수 -->
<hr>
<label for="user-time-2">초 단위까지 선택</label>
<input type="time" id="user-time-2" step="1"> <!-- 1은 60으로 나누었을 때 나머지가 발생 -->
실제 적용된 모습
<label for="user-datetime">날짜와 시간 선택</label>
<input type="datetime-local" id="user-datetime" step="120">
브라우저에서 실제 표시된 모습
<label for="user-time-1">분 단위까지 선택</label>
<input type="datetime-local" id="user-time-1" step="120"> <!-- 120은 60의 배수 -->
<hr>
<label for="user-time-2">초 단위까지 선택</label>
<input type="datetime-local" id="user-time-2" step="1"> <!-- 1은 60으로 나누었을 때 나머지가 발생 -->
실제 적용된 모습
<label for="volume">볼륨</label>
<input type="range" id="volume" min="0" max="100" step="25">
실제 적용된 모습