The HDMI interface is electrically identical and compatible with the video-only DVI interface, which came first. For example, if a cable box or PC has DVI out, but the TV or monitor only has HDMI ...
DP cables were designed to replace the older DVI ... both standard and mini DP cables have 20 pins and the same capabilities.