It is worth mentioning that the maximum resolution is limited by the connector bandwidth and cable quality and length. In the VGA connector, due to tiny little pins into a small connector, building small coaxial cables is hard.
Digital display interfaces DVI Digital Video Interface (DVI) has been designed as a replacement for VGA (analog interface). However, in some cases DVI still supports analog displays. In fact, DVI is the only standard which can carry both analog and digital signals on one interface.