This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

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.

Learn More

firefox opens a .htm file as text, i.e. it displays the file with the html tags shown as text

  • 1 (رد واحد)
  • 8 have this problem
  • 7 views
  • آخر ردّ كتبه cor-el

more options

Here is the file contents:

<html>
<head>
<title>Mr. Dube’s Chemistry Classes</title>
</head>
<body>
<P>at  Robert Service High School</P>
<P>Welcome to the Robert Service High School Chemistry Web page. Here you’ll learn
more about our chemistry classes and our policies.</P>
</body>
</html>
Here is the file contents: <pre><nowiki><html> <head> <title>Mr. Dube’s Chemistry Classes</title> </head> <body> <P>at Robert Service High School</P> <P>Welcome to the Robert Service High School Chemistry Web page. Here you’ll learn more about our chemistry classes and our policies.</P> </body> </html></nowiki></pre>

Modified by cor-el

All Replies (1)

more options
  • "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
  • "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).

  • Don't make any changes on the Safe mode start window.

See:

If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.

  • Use "Disable all add-ons" on the Safe mode start window to disable all extensions.
  • Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

Also make sure that your firewall isn't modifying response headers and sends the file as text/plain. You can verify that via Tools > Page Info > General