title: vs code not recognizing php code inside html
body: <p>As you can see that my php code is showing error and is not been recognized by the vs code.My separate .php file is running smoothly but i cannot write php code inside html.I am using xampp, linux, vs code.</p>
  
  <p>The code:</p>
  
  <blockquote>
    <p>myphp.html</p>
  </blockquote>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  
  &lt;head&gt;
  
      &lt;meta charset="utf-8"&gt;
  
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
  
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;form method="POST" action="myphp.php"&gt;
  
      Name : &lt;input type="text" name="name"&gt;
  
      &lt;span class="error"&gt;* &lt;?php echo $nameEmp; ?&gt;&lt;/span&gt;
  
      &lt;br&gt;
  
      E-mail : &lt;input type="text" name="email"&gt;
  
      &lt;br&gt;
  
      Link : &lt;input type="text" name="link"&gt;
  
      &lt;br&gt;
  
      Comment : &lt;textarea name="comment" rows="5" cols="40"&gt;&lt;/textarea&gt;
  
      Gender :
  
      &lt;input type=" radio" name="gender" value="female"&gt;Female
  
      &lt;input type="radio" name="gender" value="male"&gt;male
  
      &lt;br&gt;
  
      &lt;input type="submit" name="submit" value="Submit"&gt;
  
  &lt;/form&gt;
  
  &lt;/body
  
  &lt;/html&gt;
  </code></pre>
  
  <p>editor:
  <img src="https://i.stack.imgur.com/MbRIX.png" alt="editor screenshot"></p>