A transformer arranged to be mounted on a subject, such as a printed circuit board or the like, such that the central axis of a winding thereof is positioned horizontally. The transformer includes a bobbin portion having flange portions which are formed perpendicular to the central axis and which have terminal portions disposed on the lower end portion thereof, wherein the terminal portions are connection terminal portions to the subject. That is, leading ends of the windings are connected to the nearest terminal portions for short distances.