Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making ASP.NET page conform to HTML5
Message
 
 
À
14/11/2014 16:43:01
Information générale
Forum:
HTML5
Catégorie:
Autre
Divers
Thread ID:
01611016
Message ID:
01611020
Vues:
28
>>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

Thank you very much.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform