Fact 1: if an object is black then that object absorbs all visible light. 
Fact 2: Light is a type of electromagnetic radiation.
If an object is black then that object absorbs all visible electromagnetic radiation.