Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜尋 Mozilla 技術支援網站

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

了解更多
已解決 封存

Viewing the source code of a web page

TyDraniu replied
arie991

How do I enable syntax highlighting when viewing the mark up of a web page, using the "view-source" functionality of the current tab.

It no longer works for me, I need to use this feature so I can find errors in my HTML markup.

Does the "view-source" feature have any optional settings available to the user and how do I find them using the about: option

TIA.

How do I enable syntax highlighting when viewing the mark up of a web page, using the "view-source" functionality of the current tab. It no longer works for me, I need to use this feature so I can find errors in my HTML markup. Does the "view-source" feature have any optional settings available to the user and how do I find them using the about: option TIA.

所有回覆 (1)

選擇的解決方法

This is strange. Try to enter about:config in the address bar and confirm that view_source.syntax_highlight is true.