wiktionary
ref
From electro- + magnetic or electromagnet + -ic
etymonline
ref
electromagnetic (adj.)
also electro-magnetic, "Pertaining to electromagnetics, or to the relation between electricity and magnetism; of the nature of electromagnetism," 1821; see electro- + magnetic.