>I have moved my old VS 2005 project to VS 2012. Some things work and some I am having a problem with (I posted a question about it in the ASP.NET forum on UT).
>
>But now I am looking at the main page of the project and see that it still has HTML 4.0 set, as following:
>
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
>
>
>So I am thinking of changing the above to:
>
><!DOCTYPE html>
>
>
>Could such a change break the project? Especially if the customer will be running it in the browser that does not support HTML5? (Although most customers run this project in IE9 or later which I believe support HTML5)
Yes, you would need to switch to the short version of the DOCTYPE declaration. Once HTML5 kicks in, you might need to adjust a few layouts. I had to. So, this would be something to watch for. HTML5 makes it more generic across browsers to achieve a universal rendering. But, that is not perfect. There are still some browsers not fully conforming or not yet fully supporting some options.
For a very big application, we had customers using some older versions of browsers. Nothing was reported since we made the switch. That was done in June 2013.
In your case, you have the advantage of doing it later. So, you get more recent browser versions.
Here are some interesting links:
http://blogs.html5andcss3.org/html5-browser-support/http://www.w3schools.com/html/html5_browsers.asphttps://html5test.com/results/desktop.html