Last post Jul 23, 2006 10:46 PM by Gordon-Freeman
Jul 19, 2006 06:07 AM|PascalUK|LINK
Is somebody know how to set the HTML lang tag at run time?
My website's pages are dynamically build from a database, the language is only know at run time, and in order to keep robots happy I need ASP.NET to generate this tag for me.
Thank you very much for your help
Jul 23, 2006 10:46 PM|Gordon-Freeman|LINK
You may try using a Literal control, for example:
<html xmlns="http://www.w3.org/1999/xhtml" lang='<asp:literal runat="server"></asp:literal>'>