How does PHP differ from HTML in terms of server-side interpretation by browsers?

PHP is a server-side scripting language, meaning it is processed on the server before being sent to the client's browser. This allows PHP to dynamically generate HTML content based on variables, conditions, and database queries. In contrast, HTML is a static markup language that is interpreted directly by the browser. To use PHP in a web page, you need to save the file with a .php extension and include PHP code within <?php ?> tags.

&lt;?php
// PHP code here
?&gt;