Here is the HTML code I want to write in the output page:
Response.Write ("<a href=\"page2.aspx\">Page2" +
"<a href=\"page3.aspx\">Page3</a></a>");
I expect the following output:
<a href="page2.aspx">
Page2
<a href="page3.aspx">
Page3
</a>
</a>
But I get the following one:
<a href="page2.aspx">
Page2
</a>
<a href="page3.aspx">
Page3
</a>
Does anyone know why Response.Write
closes the tag and how to change this behaviour?