input type number step 0.1 compatibility code example Example: number input html <input id="number" type="number" value="42">