Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making ASP.NET page conform to HTML5
Message
De
14/11/2014 16:43:01
 
 
Information générale
Forum:
HTML5
Catégorie:
Autre
Divers
Thread ID:
01611016
Message ID:
01611019
Vues:
45
>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.asp
https://html5test.com/results/desktop.html
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform