After opening higher, stocks continued a markedly strong day to close out Tuesday trading securely in the green.

While most sectors except telecom gained Tuesday, tech was the obvious standout. The tech SPDR ETF (XLK) pushed higher over 1% in earlier trading. Hardware and semiconductor names enjoyed the most pronounced gains. Dow components Apple (AAPL) and Microsoft (MSFT) led the blue-chip index Tuesday. All but a handful of the Dow's names were in the green by the market close.

Joining strong tech gains was the healthcare sector, which surged on stellar earnings from Medtronic (MDT) . The medical equipment company posted earnings of $1.07 per share for its fiscal second quarter on Tuesday, topping analyst expectations by eight cents. Medtronic tallied sales of $7.05 billion in the quarter, which also bested Wall Street's forecast.

Watch More with TheStreet:

Don't miss the best videos of the week. Put Wall Street on Rewind and sign up for our weekly newsletter.

More from Video

Video: Here Is Why Carvana Isn't Worried About Amazon

Video: Here Is Why Carvana Isn't Worried About Amazon

Video: What Oprah's Content Partnership With Apple Means for the Rest of Tech

Video: What Oprah's Content Partnership With Apple Means for the Rest of Tech

REPLAY: Jim Cramer on the Markets, Oil, Starbucks, Tesla, Okta and Red Hat

REPLAY: Jim Cramer on the Markets, Oil, Starbucks, Tesla, Okta and Red Hat

Flashback Friday: The Market Movers

Flashback Friday: The Market Movers

This Could Be the Summer of Hard Seltzer

This Could Be the Summer of Hard Seltzer