Write an article based on this "Locate an available HDMI port on your TV. Get the right HDMI cable. Connect one end of the cable to the device. Connect the other end of the cable to the TV. Switch to the HDMI source on your TV. Configure your computer's audio to route through the TV (optional)."

Article:
Most modern TVs have at least one full-size (Type A) HDMI port, which is 13.9 mm x 4.45 mm in size. These ports are usually labeled "HDMI." If there is more than one port, each will be labeled with a number (e.g., HDMI 1, HDMI 2). Some TVs also have HDMI ports on the front or side panel. If the device has the same size HDMI port as your TV (Type A/13.99 mm x 4.45 mm), you'll just need a standard Type-A HDMI cable, which has the same 19-pin connector on both sides. However, some devices (often cameras and portable media players) have smaller HDMI ports, which means you'll need a different type of cable:    Type C/Mini-HDMI: This type of HDMI port is often found on somewhat older DSLR cameras and camcorders. The dimensions are 10.42 mm x 2.42 mm, which is a lot smaller than Type A. If your device has this port, you'll need a Mini-HDMI-C to HDMI-A cable.  Type D/Micro-HDMI: Even smaller than the Type C, this 6.4 mm x 2.8 mm port is commonly found on small recording devices such as the GoPro and some smartphones. You'll need a Micro HDMI-D to HDMI-A cable in this situation. Turn on the device you want to connect to the TV, and then gently insert the matching end of the cable into its HDMI port. You should only be able to insert the HDMI plug into the port in one direction. Never force the cable plug into the port since doing so could damage both the cord and the device. Turn on the TV if you haven't already done so, and then connect the cable securely. If your TV has multiple HDMI ports, take note of the HDMI port number you're using. Use the SOURCE or INPUT button on your TV or remote to select the HDMI port. You'll usually have to press it a few times until you reach the right port number. Once you reach the correct source, you should see the device's image on the screen.  If you're using Windows, press ⊞ Win+P to open the Windows Project panel, and then select an option for displaying the screen on the TV. If you want to mirror the desktop, for example, select Duplicate. If you have a Mac, the screen should automatically be mirrored on the TV. If the dimensions look funny, navigate to Apple menu > System Preferences > Displays > Display and select Default for display. If you need to enter a specific resolution, chose Scaled instead and enter that resolution now. If you've connected a computer to the TV and want to make sure the audio comes through the TV's speakers, follow these steps:   Mac: Navigate to Apple menu > System Preferences > Sound > Output and select your TV or HDMI output.  Windows: Right-click the volume icon in the system tray (next to the clock), select Sound Settings, and select your computer's default audio device, often called Speakers (High Definition Audio), from the "Choose your output device" menu.