What is the relation between html and php? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is the relation between html and php?

How can we relate each other

5th Aug 2017, 1:21 PM
Shaswat Singh
Shaswat Singh - avatar
3 Answers
+ 4
Php is mainly used to dynamically build and serve Html pages ^^
5th Aug 2017, 1:29 PM
visph
visph - avatar
0
PHP is an html preprocessor (the term "PHP" itself is a recursive acronym for "PHP: hypertext preprocessor"). it means that php is one of the server side languages used to dynamically generate html pages according to parameters, queries and other information. this gives both the possibility to have a conditional output and less source files (a single php file can output different html pages accordingly to conditions) while a pure html file is rendered always the same way..
5th Aug 2017, 3:49 PM
Luca
Luca - avatar