Did Demeter have a husband?

No, she did not. She had loves and many childeren. Some of her lovers were

Poseidon and Zeus.