handle htm url