title: ASP Textbox not visible
body: <p>I am trying to display a textbox with ASP (code taken from W3 Schools) but when I run the website using my local IIS server I only see the "Enter your name:" label.</p>
  
  <pre><code>&lt;script runat="server"&gt;
  Sub submit(sender As Object, e As EventArgs)
     lbl1.Text="Your name is " &amp; txt1.Text
  End Sub
  &lt;/script&gt;
  
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;body&gt;
  
  &lt;form runat="server"&gt;
  Enter your name:
  &lt;asp:TextBox id="txt1" runat="server" /&gt;
  &lt;asp:Button OnClick="submit" Text="Submit" runat="server" /&gt;
  &lt;p&gt;&lt;asp:Label id="lbl1" runat="server" /&gt;&lt;/p&gt;
  &lt;/form&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Note: This is a project for someone who insists to use ASP so I can't do PHP and I don't know ASP.</p>
  
  <p>Thanks.</p>
  
  <p><em>EDIT</em> Here is the rendered HTML</p>
  
  <pre><code>&lt;html&gt;&lt;head&gt;&lt;script runat="server"&gt;
  Sub submit(sender As Object, e As EventArgs)
     lbl1.Text="Your name is " &amp; txt1.Text
  End Sub
  &lt;/script&gt;
  
  
  
  &lt;/head&gt;&lt;body&gt;
  
  &lt;form runat="server"&gt;
  Enter your name:
  &lt;asp:textbox id="txt1" runat="server"&gt;
  &lt;asp:button onclick="submit" text="Submit" runat="server"&gt;
  &lt;p&gt;&lt;asp:label id="lbl1" runat="server"&gt;&lt;/asp:label&gt;&lt;/p&gt;
  
  
  
  &lt;/asp:button&gt;&lt;/asp:textbox&gt;&lt;/form&gt;&lt;/body&gt;&lt;/html&gt;
  </code></pre>