So maybe I'm approaching this from the wrong angle, but
according to Planck, energy is quantized, according to the equation E = hν. Once a frequency for electromagnetic radiation has been established, total energy can only exist in whole number multiples of the above equation.
How is white light, representing a continuous spread of wavelengths and also energies (since c = λν), possible if energy is said to exist in discrete quantities? This appears to be in contrast to the emission spectra of specific elements such as Hydrogen and Helium which clearly demonstrate a discrete spread of colors, due to the fact that they have very specific energy level separations.
As a side note, why are solids special in their ability to emit all wavelengths, in comparison to the gas phase spectra of elements?
Apologies if I'm confusing something critical or basic.