Range input
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Volume</title>
</head>
<body>
<form action="/server">
<div>
<label form="volume">volume</label>
<input type="range" min="0" max="100" name="vol" />
<button>submit</button>
</div>
<!-- STEP ATTRIBUTE -->
<input type="range" min="0" max="100" name="vol" step="10"/>
<button>submit</button>
</form>
</body>
</html>
Comments
Post a Comment