T
Tony Johansson
Hello!
What does it mean when a text say "adding text directly inside the <form>
element violates the rules of xhtml.
Here I have some code and it's no problem to add a static text like Testing
inside the form tag like I have done here.
So axactly what does it mean what a text say "adding text directly inside
the <form> element violates the rules of xhtml"
<form id="form1" runat="server">
Testing
<div>
<asp:Button ID="cmd" style="POSITION: absolute; left:150px;
top:61px;"
runat="server" Text="Button" />
</div>
<asp:Label ID="Label1" runat="server" Text="testing"></asp:Label>
</form>
//Tony
What does it mean when a text say "adding text directly inside the <form>
element violates the rules of xhtml.
Here I have some code and it's no problem to add a static text like Testing
inside the form tag like I have done here.
So axactly what does it mean what a text say "adding text directly inside
the <form> element violates the rules of xhtml"
<form id="form1" runat="server">
Testing
<div>
<asp:Button ID="cmd" style="POSITION: absolute; left:150px;
top:61px;"
runat="server" Text="Button" />
</div>
<asp:Label ID="Label1" runat="server" Text="testing"></asp:Label>
</form>
//Tony