Elements of the electromagnetic theory of light