You really should have your .html files be .php files when you need to use PHP (myself I only use the .html extension for files built outside of the php files); but you can adjust your .htaccess to indicate that .html files contain PHP code as:
AddHandler application/x-httpd-php .php .htm .html