title: Php tags in .html files don't work in WebMatrix
body: <p>I've been learning web development and the book I am learning from is using php tags within html files but they don't work for me, here is my header page:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /&gt;
      &lt;title&gt;&lt;?php echo $page_title; ?&gt;&lt;/title&gt;
      &lt;style type="text/css" media="all"&gt;@import "./includes/layout.css";&lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;a href="index.php" class="logo"&gt; &lt;img src="Includes/Images/NameIconSplash.png" /&gt;&lt;/a&gt;
      &lt;div id="wrapper"&gt;
          &lt;div id="content"&gt;
              &lt;div id="news"&gt;
                  &lt;div id="nav"&gt;
                      &lt;ul&gt;
                          // Tags don't work here
                          &lt;?php
                              if ( (isset($_COOKIE['user_id'])) &amp;&amp; (!strpos($_SERVER['PHP_SELF'], 'logout.php')) ) 
                              {
                                  echo '&lt;li&gt;&lt;a href="logout.php"&gt;                                           Logout&lt;/a&gt;&lt;/li&gt;'
                              } 
                              else 
                              {
                                  echo '&lt;li&gt;&lt;a href="login.php"&gt;                                            Login&lt;/a&gt;&lt;/li&gt;'
                                  echo '&lt;li&gt;&lt;a href="register.php"&gt;                                         Register&lt;/a&gt;&lt;/li&gt;'
                              }
                          ?&gt;
  
  
  
  
                      &lt;/ul&gt;
                  &lt;/div&gt;
  </code></pre>
  
  <p>The php code is just normal black text but it recognises the html code within the php tags. Does someone know why it doesn't recognise them?</p>
  
  <p>Thankyou in advance.</p>