</form> tag problem

  • Thread starter Thread starter vinodkus
  • Start date Start date
V

vinodkus

dear sir/madam
I use front page to write asp program. It automatically insert </
form> tag in unappropriate place. due to which my another controls
blocked. So please tell me how to remove this problem

Thanks In Advance
 
Frontpage will correct code that is so badly written it is difficult to
parse.
If you open a <form> in HTML, you must close it in HTML.
If you open a form in asp code, you must close it in asp code.
You must nest HTML tags correctly.
For example, if you write:

<table><tr><td>
<form>
<%
response.write "<input type="text"></form>"
%>
</td></tr></table>
FrontPage will correct this to
<table><tr><td>
<form>
</form>
<%
response.write "<input type="text"></form>"
%>
</td></tr></table>

So that the <form> and <table> are nested correctly with all closing
tags.
 
Back
Top