搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Has Ver 4 started checking ending HTML tags?

  • 2 回覆
  • 1 有這個問題
  • 4 次檢視
  • 最近回覆由 sparky333

more options

I left the > off a
tag and in Ver 3.6.x it is no problem. In Ver 4, 5 and 6, it is. In this case, it was the tag just before a <form> tab and the Submit button does not work.

I left the > off a <br> tag and in Ver 3.6.x it is no problem. In Ver 4, 5 and 6, it is. In this case, it was the tag just before a <form> tab and the Submit button does not work. <br <form method=post action=post.php>

被選擇的解決方法

Yes, if the HTML5 parser is enabled (pref html5.parser.enable) then a lot of such mistakes that didn't cause problems in Firefox 3 can now be causing problems.

You can usually see such minor mistakes if you inspect the page source code.

  • Firefox > Web Developer > Page Source
  • Tools > Web Developer > Page Source
  • Right-click on a web page to open the right-click context menu and select Page Source
從原來的回覆中察看解決方案 👍 0

所有回覆 (2)

more options

選擇的解決方法

Yes, if the HTML5 parser is enabled (pref html5.parser.enable) then a lot of such mistakes that didn't cause problems in Firefox 3 can now be causing problems.

You can usually see such minor mistakes if you inspect the page source code.

  • Firefox > Web Developer > Page Source
  • Tools > Web Developer > Page Source
  • Right-click on a web page to open the right-click context menu and select Page Source
more options

Thanks cor-el. These are two things I didn't know about. I mean I knew about viewing the page source, but didn't know it shows bad tag construct. Too bad it doesn't alert for missing ending tags, eh?

由 sparky333 於 修改