This textbook is intended for a course in electromagnetism for upper undergraduate and graduate students. The main concepts and laws of classical macroscopic electrodynamics and initial information about generalized laws of modern electromagnetics are discussed, explaining some paradoxes of the modern theory. The reader then gets acquainted with electrodynamics methods of field analysis on the basis of wave equation solution. Emission physics are considered using an example of the Huygens-Fresnel-Kirchhoff canonic principle. The representation about strict electrodynamics task statement on the base of Maxwell equations, boundary conditions, emission conditions and the condition on the edge is given. Different classes of approximate boundary conditions are presented, which essentially simplify understanding of process physics. The canonic Fresnel functions are given and their generalization on the case of anisotropic impedance. The free waves in closed waveguides and in strip-slotted and edge-dielectric transmission lines are described. A large number of Mathcad programs for illustration of field patterns and its properties in different guiding structures are provided. The material is organized for self-study as well as classroom use.