Traders work on the floor of the New York Stock...

Traders work on the floor of the New York Stock Exchange April 24, 2017. Credit: Bloomberg / Michael Nagle

Technology and consumer-focused companies led the S&P 500 index and the Nasdaq composite higher Tuesday while the Dow Jones industrial average fell. Netflix soared after saying it gained more than 8 million subscribers at the end of 2017.

Health care and household goods companies fell after Johnson & Johnson and Procter & Gamble gave disappointing quarterly reports.

Only 25¢ for 5 months

Unlimited Digital Access. Cancel anytime.

Already a subscriber?

Technology and consumer-focused companies led the S&P 500 index and the Nasdaq composite higher Tuesday while the Dow Jones industrial average fell. Netflix soared after saying it gained more than 8 million subscribers at the end of 2017.

Health care and household goods companies fell after Johnson & Johnson and Procter & Gamble gave disappointing quarterly reports.

U.S. solar power companies spiked after President Donald Trump approved tariffs on imported solar-energy components. Some investors were relieved: analysts said the tariffs will make production more expensive for U.S. companies, but they weren’t as harsh as they could have been. Companies that do their manufacturing overseas finished lower and some of the U.S. companies gave up their gains before trading ended.

“You could probably argue that this particular tariff is the first implementation of the protectionist rhetoric that he ran on,” said Randy Frederick, vice president of trading and derivatives at Charles Schwab. That didn’t worry investors, but Frederick said stocks might decline if there are signs other countries are retaliating or the administration takes more aggressive steps.

The Standard & Poor’s 500 index added 0.2 percent, to 2,839.13. The Dow fell 3.79 points to 26,210.81, pulled lower by Johnson & Johnson and Procter & Gamble’s losses. The Nasdaq composite jumped 0.7 percent, to 7,460.29. — AP

Guilty plea in crash that killed 4 ... Knicks lose game 5 ... Dome shapped home Credit: Newsday

Updated 31 minutes ago SBU students protest ... Plea in crash that killed 4 ... Westbury streetscaping begins ... World's 'Flair'