Indian IT stocks hogged spotlight on Tuesday with the index rising nearly 5 per cent, bucking the weakness in the broader markets.