+ 4
What is the link between PHP and HTML?
Comparison
3 Answers
+ 11
php and html are totally different đ
đ
...
its like comparing oranges with grapes...
although we can say what php does with html...
+ 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.
+ 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.