What are some common pitfalls when trying to call a PHP page from HTML?

One common pitfall when trying to call a PHP page from HTML is not using the correct file extension for the PHP file, which should be .php instead of .html. Another issue is not properly setting up the server to interpret PHP code. To solve these issues, make sure the PHP file has a .php extension and is located in the correct directory on the server.

<?php
// Your PHP code here
?>