How can you call a HTML file from a PHP file?

To call an HTML file from a PHP file, you can use the include or require function in PHP. This allows you to embed the content of the HTML file within the PHP file and display it on the webpage when the PHP file is executed.

<?php
include 'yourfile.html';
?>