搜尋 Mozilla 技術支援網站

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

Learn More

Local Html files are not being displayed correctly.

  • 2 回覆
  • 1 有這個問題
  • 18 次檢視
  • 最近回覆由 cor-el

more options

<html> <h1>hello 23</h1> </html>

When I am loading this local .html(above template) file , then as in heading h1 , only hello is being displayed , the number 23 is not being displayed .

This is happening in all my Html files. The integers are not being displayed in my web browser.

&lt;html&gt; &lt;h1&gt;hello 23&lt;/h1&gt; &lt;/html&gt; When I am loading this local .html(above template) file , then as in heading h1 , only hello is being displayed , the number 23 is not being displayed . This is happening in all my Html files. The integers are not being displayed in my web browser.

由 cor-el 於 修改

所有回覆 (2)

more options

THE TEMPLATE FOR MY .html file is

html h1 hello 23 h1 html

more options

Could be a font issue.

Did you check this in the Inspector ?

You can right-click and select "Inspect Element" to open the builtin Inspector with this element selected.

You can check in the Rules tab in the right panel in the Inspector what font-family is used for selected text. You can check in the Font tab in the right panel in the Inspector what font is actually used because Firefox might be using a different font than specified by the website.