A contact includes a first contact pin, a second contact pin and a spring. The first contact pin comprises a wide portion for contacting and a narrow portion. The second contact pin comprises a holding portion and a guiding portion extending upwards from the holding portion. The guiding portion has a receiving space and a pair of channels, the narrow portion is received in the receiving space and has thereof a pair of projecting portions sliding in the channels. The spring is moveably seated on the holding portion and limited under the wide portion to allow the first contact pin to shift upwards and downwards therein.