Computer Science, asked by sarangpotey, 4 months ago

we need a website to view an HTML file​

Answers

Answered by Mrvagh151
2

HTML: Viewing HTML-files

You can view an HTML-file that is under preparation by opening it in a browser.

You can do this without having to move the file to ~/.www, change permissions, etc.

Moreover, most browsers will allow you do changes as well (on a WYSIWYG basis).

Be careful however to not edit the same file simultaneously in two editors!

The following steps apply to Netscape, but each browser should have similar features.

start your browser

under the "File" menu click on "Open Page"

this will open an "Open Page" dialog box

in this new box, click on "Choose File" (if you cannot fill-in the file's location directly)

once the file is found (in the "File Browser" window), click "OK"

this returns you to the "Open Page" window

click on "Open in Navigator" (if you want to make changes to the file, you can use instead "Open in Composer")

When you view files this way, the links should work even if you did not gave them special permissions.

However new directories are opened as a listing, and you have to click on the file that you meant to see (the file that the browser would open by default is index.html, or Welcome.html).

ʜᴏᴘᴇ ɪᴛ ʜᴇʟᴘꜱ ʏᴏᴜ. ☺❤

Similar questions