Welcome to Android Central! Unfortunately, the S6 doesn't support MHL (which is how past Samsung phones are able to connect to a TV via a cord). You'll have to connect wirelessly, either with the Screen Mirroring feature (Is my Galaxy S6 Series device MHL compatible for use with an HDMI adapter?) or with Chromecast.