EF and EF-S are 'compatible' but only in one direction.
EF-S Cameras can take both EF and EF-S lenses. You can't go the other way; on EF Cameras, an EF-S lens will probably not fit and even if it does may damage the camera (i.e. mirror might hit the back of the lens due to clearance differences.)