Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

Does Firefox 4.0.1 actually use the <!DOCTYPE statement?

  • 1 odgovor
  • 1 ima ovaj problem
  • 1 prikaz
  • Posljednji odgovor od 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''

Izmjenjeno od cor-el

Svi odgovori (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