html method use range