One isn't better than the other — it all comes down to use case.
Two of the most common connections for transferring high-quality video and audio today are DisplayPort and HDMI (High-Definition Multimedia Interface). These have largely replaced the old VGA ports ...
HDMI 2.1 is a solid all-rounder with support for 4K at 120Hz, or 8K at 60Hz. HDMI 2.0b is a solid choice for 4K 60Hz, too, and is available on most cheaper monitors. DisplayPort 2.1 offers up to ...