PHP is a programming language used to create dynamic web pages. HTML is a markup language which dictates how the text, images, and general layout of the website sits and looks. HTML alters how the webpage appears to users. PHP is server side that retrieves data and instructs the server how to perform a task.