how to run html programs in safari?

how to open a html file in safari..??

MacBook Pro

Posted on Feb 21, 2012 8:34 AM

Reply
2 replies

Feb 21, 2012 10:28 AM in response to dineshn

Contrary to what BobTheFisherman says, a HTML file does not need to be served by a web server. If the HTML file is on a local disk (i.e. internal hard-drive, or usb-drive) or even if it's on a network shared folder that you can access, you only need to type the path into the address bar in Safari, in this format:


file:///<path to file>


Alternatively, and more simply, locate the file in Finder and drag it into Safari's main window.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

how to run html programs in safari?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.