What to do with "Attribute 'foo' is considered outdated. A newer construct is recommended."

When Visual Studio 2005 or Visual Web Developer 2005 performs XHTML validation it typically gives you ""Attribute 'foo' is considered outdated. A newer construct is recommended." or "Element 'bar' is deprecated. ..." But netier Vs nor VWD tell you what are those newer constructs are exactly as often there are multiple ways to fix any given case.

However, nothing is lost, here is a list with good recommendations:.

https://forums.asp.net/thread/1291684.aspx