Hi Localhost,
As for the question on add custom attributes into the <HTML> tag, I think
Scott 's suggestions i reasonable.
If you are using codebehind for your asp.net web page, in addition to add
the "id" and "runat" attrributes , you also need to declare a
HtmlGenericControl page member to map the <Html> tag, after that, you can
reference the <html> in your code, just as below:
<HTML id="MyHtml" runat="server">
<HEAD>
protected System.Web.UI.HtmlControls.HtmlGenericControl MyHtml;
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
MyHtml.Attributes.Add("XMLNS","HTTP://LEARN");
}
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx