T
Tony Johansson
Hello!
In the first line I have no closing tag for the bold tag and I don't get any
compile error why ?
The compiler would be able to see that the start bold tag has no closing tag
and would give me a compile error or
at least a compile warning.
protected void Page_Load(object sender, EventArgs e)
{
test.InnerHtml = "To <b>bold text use the";
test.InnerHtml += Server.HtmlEncode("<b>") + " tag";
}
//Tony
In the first line I have no closing tag for the bold tag and I don't get any
compile error why ?
The compiler would be able to see that the start bold tag has no closing tag
and would give me a compile error or
at least a compile warning.
protected void Page_Load(object sender, EventArgs e)
{
test.InnerHtml = "To <b>bold text use the";
test.InnerHtml += Server.HtmlEncode("<b>") + " tag";
}
//Tony