(Reuters) - The S&P and the Nasdaq rose on Tuesday as upbeat earnings from Netflix spurred gains for the highly-valued technology sector, while the Dow came under pressure from declines in Johnson & Johnson and Procter & Gamble.