Create an empty file using notepad and name it .htaccess ,Then copy that file in your project directory and add this line and save.
AddType application/x-httpd-php .htm .html
else save the .html file using .php as php can support html,and save it in computer/var/www/html path(linux)