The present invention discloses an electrical connector, including a housing, a base body with its front end extending to form a tongue, whose one surface is disposed with a plurality of first terminal slots and whose other surface is disposed with a plurality of second terminal slots, with the first and second terminal slots being alternately arranged in a top/down fashion; a first terminal assembly; and a second terminal assembly; such that when the above components are assembled, a display port plug or a High-Definition Multimedia Interface (HDMI) plug can be plugged therein and all or some of the terminals of the first and second terminal assemblies are used to achieve electrical connection.