+ 4

What is the link between PHP and HTML?

Comparison

2nd May 2019, 7:25 AM
Benjamin Dakpo
Benjamin Dakpo - avatar
3 Answers
+ 11
php and html are totally different 😅😅... its like comparing oranges with grapes... although we can say what php does with html...
14th May 2019, 7:17 PM
Prashanth Kumar
Prashanth Kumar - avatar
+ 8
Html gives the bare bones content of your webpage without additional styling or interactivity. PHP is used to write server side scripts to process information such as data submitted by the user in forms.
2nd May 2019, 8:23 AM
Sonic
Sonic - avatar
+ 8
you can write html in php. in fact most websites are just a collection of php code which contain html. for example you can have a header.php which has the header files of the webpage, a footer.php which has the footer of the html. this helps you to reuse code as you only have to include them in other scripts rather than writing a separate header and footer for every page. php is also involved in server side programming. it is the interface between html and the database. and helps you to CRUD. that is , Create, read update and delete from a database. hope it helps.
2nd May 2019, 10:02 PM
Logomonic Learning
Logomonic Learning - avatar