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

How to view .shtml files locally? I have added "Open in Browser" but still not able to see the local .shtml file.

more options

I have added Open in browser add ons in Firefox browser, but still not able to see the .shtml files on local machine. Can any one please tell me how to view .shtml files in Firefox?

I have added Open in browser add ons in Firefox browser, but still not able to see the .shtml files on local machine. Can any one please tell me how to view .shtml files in Firefox?

All Replies (5)

more options

SHTML files are regular HTML files that make use of Server-Side Includes. In some server configurations, the special file extension is required to instruct the server to parse the file for SSI code.

If Firefox doesn't recognize the file type, it is likely the MIME type is incorrect.

Try this Addons

more options

Hi,

I have already added "Open in Browser" addon but not able to view .shtml files? do we need do some settings in browser after adding "Open in Browser" addons?

more options

"Server-Side Includes" needs the "server" - on your PC to be able to view those pages "off-line".

Are you developing those .shtml files yourself? If so, you need to set up a "server" on that PC to be able to view those files.

more options

No I am not developing .shtml files my self, some of the designers are providing .shtml files to me for developing web based application, I don't have any server on my PC. without installing any server is there any way to view those .shtml files?

more options

Yes, if they send them to you as "Web Page, Complete" or in MHTML format you should be able to view those "pages". Might not help you though if you are going to be modifying or working with the code.