Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Does Firefox 4.0.1 actually use the <!DOCTYPE statement?

  • 1 réponse
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par cor-el

more options

I have an html page that begins with:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

The web browsers starting with IE8 and older handle the web page, including Firefox 4.0.1, but IE9 does not work. I would like for Firefox 4.0.1 use the standards as specified in the dtd file so I can use the error console to see that html statements do not conform to the dtd standards.

Thanks

edited by a moderator to show the tags

I have an html page that begins with: <pre><nowiki><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"></nowiki></pre> The web browsers starting with IE8 and older handle the web page, including Firefox 4.0.1, but IE9 does not work. I would like for Firefox 4.0.1 use the standards as specified in the dtd file so I can use the error console to see that html statements do not conform to the dtd standards. Thanks ''edited by a moderator to show the tags''

Modifié le par cor-el

Toutes les réponses (1)

more options

A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25