Question: what is the difference between basic html and php?
Answer: HTML is used to develop static web pages whereas PHP is used to develop components which make website dynamic. The output of PHP script is HTML as they will be similar to HTML files which can include both HTML and PHP in script code but for the end user while opening PHP web page be able to access only HTML elements.