html attribute step code example Example: number step input html <input id="myNumber" name="myNumber" type="number" step="2" min="1.2">