We show theoretically that a finite two-dimensional square lattice of metallic cylinders in air can be designed to have almost 100% absorptance over a wide optical wavelength range and for a wide range of incidence angles. The broadband and wide-angle strong absorption is attributed to the presence of a large number of flat bands interacting with air bands and the greatly improved impedance matching between metallic photonic crystals and air. The frequency band of intense absorption is in the visible, ultraviolet, or near infrared, depending on the metallic material.