DVI vs HDMI

The quality of Using DVI or HDMI to connect, is it same?