These lectures on QCD stress the theoretical elements that underlie a wide range of phenomenological studies, particularly gauge invariance, renormalization, factorization and infrared safety. The three parts cover the basics of QCD, QCD at tree level and higher order corrections. Lectures given at the 2004 European School of High-Energy Physics, St. Feliu de Guı́xols, Barcelona, Spain, 30 May –...