Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Firefox does not display local html files

  • 4 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par ama.iykeuzo

more options

Hello,

I am learning web development and I was told to use Firefox as my IDE because of its developer options. But whenever I try to display a .html file all I get is a blank page although I can view the file in Microsoft Edge.

Also when I check page source or inspect page, I can view my .html code in the background but on the frontend I get a blank page.


Please could you guys help please? I don't know what to do


Thank you

Hello, I am learning web development and I was told to use Firefox as my IDE because of its developer options. But whenever I try to display a .html file all I get is a blank page although I can view the file in Microsoft Edge. Also when I check page source or inspect page, I can view my .html code in the background but on the frontend I get a blank page. Please could you guys help please? I don't know what to do Thank you

Solution choisie

ama.iykeuzo said

Hello, I am learning web development and I was told to use Firefox as my IDE because of its developer options. But whenever I try to display a .html file all I get is a blank page although I can view the file in Microsoft Edge. Also when I check page source or inspect page, I can view my .html code in the background but on the frontend I get a blank page. Please could you guys help please? I don't know what to do Thank you

Thank you very much everyone for your help. Turns out that there was a bug in my styling( because it did not display in Edge also). When I erased all rules and started from scratch it began to display in Firefox and Edge.

Thank you

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (4)

more options

Edge may have different requirements. A useful source of information is w3schools. I have local .html files displayed in Firefox and another browser using the format shown in the attached image. I couldn't post it directly.

Modifié le par Terry

more options

Firefox can be a bit picky about closing tags. When you View Source -- and I suggest reloading the View Source page using Ctrl+R just to confirm it's the latest version -- does Firefox color any of the tags in red? (It's normal to see HTML entities such as & in red, but not tags.)

more options

terauck said

Edge may have different requirements. A useful source of information is w3schools. I have local .html files displayed in Firefox and another browser using the format shown in the attached image. I couldn't post it directly.

Tried this it did not work

more options

Solution choisie

ama.iykeuzo said

Hello, I am learning web development and I was told to use Firefox as my IDE because of its developer options. But whenever I try to display a .html file all I get is a blank page although I can view the file in Microsoft Edge. Also when I check page source or inspect page, I can view my .html code in the background but on the frontend I get a blank page. Please could you guys help please? I don't know what to do Thank you

Thank you very much everyone for your help. Turns out that there was a bug in my styling( because it did not display in Edge also). When I erased all rules and started from scratch it began to display in Firefox and Edge.

Thank you