+ 2
what is the difference b/w php & html code ?
instead of tags
6 ответов
+ 3
HTML is frontended while PHP is a backended programing language.
+ 3
html is used to make web pages and its a markup language and php is a programming language
+ 2
HTML is used to develop static web pages whereas PHP is used to develop components which make website dynamic. The output ofPHP script is HTML as they will be similar toHTML files which can include both HTML and PHP in script code but for the end user while opening PHPweb page be able to access only HTML elements.
+ 2
is there any online compiler for php ?
+ 2
I'm not sure but maybe this can help https://www.w3schools.com/php/php_compiler.asp
+ 1
Tanisha Biswas the main difference is HTML does not need a server to run but PHP is need to run server.
php is programming language whereas HTML is a markup language.
You can write html in php files but you can not write php in html files.