use range attribute