搜尋 Mozilla 技術支援網站

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

了解更多

What does red-color characters means in HTML code?

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

more options

I right-click on the webpage in the Firefox browser, and click on "view source code". Then I see the HTML source code. Some characters are in red color. I wonder what is means. Why dos the red-color characters mean? Does it mean that the source code is error in grammer? I don't think so. But the slash in the label <br /> is in red color. I wonder what is happening.

I right-click on the webpage in the Firefox browser, and click on "view source code". Then I see the HTML source code. Some characters are in red color. I wonder what is means. Why dos the red-color characters mean? Does it mean that the source code is error in grammer? I don't think so. But the slash in the label &lt;br /&gt; is in red color. I wonder what is happening.

所有回覆 (1)

more options

The red color only means that it's a bit special and the red color makes it easier to see. It does not mean that it's an error in the grammar. To see the errors and the warning you can open the errorconsole. On my computer I can press Ctrl+Shift+J or use the menus to open the errorconsole .