how to run html programs in safari?
how to open a html file in safari..??
MacBook Pro
how to open a html file in safari..??
MacBook Pro
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.
Type in the url address of the html file in Safari's address bar. Of course the html file needs to be served by a web server.
how to run html programs in safari?