We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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.

Search Support

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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

How do I view my .HTML file as a website, not in a text-only format?

  • 1 baphendule
  • 1 inale nkinga
  • 14 views
  • Igcine ukuphendulwa ngu DaveRo

more options

I'm learning to use basic HTML. I wrote a short file in TextEdit and opened it using Firefox "File" --> "Open". It loaded the page, but instead of reading the HTML code, it left it as text, including the angle brackets and commands. I would like to view my page as a normal site, with working italics, bolds, hyperlinks, etc. Is it possible to do this with Firefox? If so, how?

This happened

Every time Firefox opened

== I tried to read a simple .HTML file

I'm learning to use basic HTML. I wrote a short file in TextEdit and opened it using Firefox "File" --> "Open". It loaded the page, but instead of reading the HTML code, it left it as text, including the angle brackets and commands. I would like to view my page as a normal site, with working italics, bolds, hyperlinks, etc. Is it possible to do this with Firefox? If so, how? == This happened == Every time Firefox opened == I tried to read a simple .HTML file

All Replies (1)

more options

It sounds as if the file is not recognised by Firefox as an html file - it thinks it's a text file.

I don't know MACs but here on Linux that has nothing to do with whether the file has an 'html' extension. Does the file start with an <html> tag? (After <!DOCTYPE - if you have included that - it's optional.)

If so I suggest that you create the file not with a text editor but with a program that is designed to produce html files. You probably have one on your machine already but if not try Bluefish.

A MAC user could give a better answer.

Good luck.