title: Invalid location of HTML tag
body: <p>I am trying to make a simple form using HTML and Servlets. Everything is set, but I am getting a yellow underline in my HTML markup. It says: <em>Invalid location of tag (input)</em> , where I am trying to implement the form in my HTML.</p>
  
  <p>My code looks good and I don't see the problem. What am I doing wrong?</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
      &lt;link rel="stylesheet" type="text/css" href="style.css" /&gt;
      &lt;title&gt;Projektuppgift1&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      ...
      // This is where I am getting the error
      &lt;form action="LoginServlet" method="post"&gt;
          username: &lt;input type="text" name="name" /&gt;
          password: &lt;input type="password" name="password" /&gt;
          &lt;input type="submit" value="submit" /&gt;
      &lt;/form&gt;
      ...
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>