</form> tag problem

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
 
R

Ronx

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top