Problems with first PHP

I am having problems with get php to show up in my browser. I am using xampp. Heres the code:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
http://www.w3.org/TR/xhtml/DTD/xhtml1-transitional.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml” xml:lang=“en” lang=“en”>

<head>
<meta http-equiv=“Content-type” content=“text/html; charset=utf-8” />

&lt;title&gt;XHTML Template&lt;/title&gt;

</head>

<body>
<?php
phpinfo();
?>
</body>
</html>

I have tried to connect with 127.0.0.1 or http://localhost, and nothing works. going to localhost shows the me XAMPP saying everything is working. I am typing http://localhost/phpinfo.php in the browser. I am going to look around more to see what I can find but am lost on what to do or check or setup… lol Thanks for anyhelp.

Edit— I did not have files in the htdocs folder so it had no idea were to look.