9mm refers to the caliber of a cartridge and 1911 refers to a certain pistol design.
The original and most 1911 pistols made today are chambered to fire the 45acp cartridge, but there are some that are chambered for other rounds like the 38 super and the 9X19 (9mm) cartridge, but the basic design of the pistol remains the same.