我想在html文件中运行php代码

I am a beginner in PHP and I was trying to run a php code in HTML file.

HTML File

<!DOCTYPE html>
<html>
<head>
    <title>Test Website - Php in HTML</title>
</head>
<body>
    <h1>Testing php in html file</h1>
    <p><?php echo "php text goes here..." ?></p>
</body>
</html>

.htaccess File

AddType application/x-httpd-php .htm .html

This is What I can see when I checked the page source enter image description here

Already tried the steps mentioned here --> Using .htaccess to make all .html pages to run as .php files?

Please help me to run the php code in html file.

If you want to run this file so you need to save your file with .php not with .html.Try with .php you will get proper response.