搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Does Firefox 4.0.1 actually use the <!DOCTYPE statement?

  • 1 个回答
  • 1 人有此问题
  • 6 次查看
  • 最后回复者为 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''

由cor-el于修改

所有回复 (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