[W3C] Doctype etc & validation w3c
Bon ayant pas mal galéré avec les doctypes et toutes les declarations de type de page etc...
j'an suis arrivé à voir large et j'utilise ceci:
Code:
1 2 3
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr"> |
mais il me retourne quand même
Result: 2 errors / 0 warnings
line 3 column 12 - Error: there is no attribute "XMLNS"
line 3 column 62 - Error: there is no attribute "XML:LANG"