Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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