<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h3>수량을 선택하세요</h3>
	
	<hr>
	
	<!-- step 값이 따로 정의되어있지 않으면 기본값은 1이다. -->
	<input type="number" min="1" max="20" value="10">
</body>
</html>

'Front-End > HTML' 카테고리의 다른 글
| [HTML] fieldset 태그, legend 태그 (0) | 2021.10.27 | 
|---|---|
| [HTML] form태그_required 속성 (0) | 2021.10.27 | 
| [HTML] date 태그, time 태그, week 태그 (0) | 2021.10.26 | 
| [HTML] color 태그(form 태그) (0) | 2021.10.26 | 
| [HTML] select 태그(form 태그) (0) | 2021.10.26 | 
 
										
									 
										
									 
										
									 
										
									
댓글