If you want to include PHP code in your HTML file and you don't want to rename the file type from .html or .htm to .php, the below allows your HTML file to parse your PHP code correctly.
.html
.htm
.php
AddHandler application/x-httpd-php .html .htm