HDMI carries audio and video.
DVI only carries video.
If you are using external speakers (ones not on the monitor), then DVI or HDMI will be fine.
But if you want the audio to come from the internal speakers in the monitor (assuming the monitor has them) you have to use HDMI.
Edit: None will show a difference in visual quality on the same monitor.
Hope this helps

.