How can I open my html file on Google Chrome? - html

I am trying to get used to html. I want open my html project on Google Chrome but I am just getting classic page on local host. (https://i.stack.imgur.com/fFJDg.jpg) (https://i.stack.imgur.com/lZjuK.jpg)
I am just try to open on Edge but get this page again. What can I do about this problem?

Just paste the path of the html file including the .html to the browser.
Eg, c://Desktop/user/project/file.html -> paste on url

There are 2 ways for opening .html files in Google chrome.
Way 1 :
Right click on the .html file and select open with Google chrome.
Way 2 :
Open Google Chrome
Press ctrl + o
A window opens
Navigate to your destination folder and click on your .html file
That's it. There you go.
Hope This is helpful.

Related

Save excel file containing links as html, and these links open in file explorer, not web browser

I have an excel sheet with links to local folders. To make it more device "friendly" I save it as html. All is fine, but the links open on the web browser, not windows file explorer.
I know that html does not open aps, but I do not know if opening a local folder with windows file explorer is considered an app, or I miss something.
Excel: =hyperlink("c:\testfolder")
Of course another suggestion on the matter is welcome...
add file:// to the link
=hyperlink("file://c:\testfolder")

a href target blank sometimes stucks on about:blank

I am trying to open a google docs link in a new tab on browser like:
Google Sheet
But sometimes link does not open and stucks on about:blank page. But if I press refresh button, the link opens. What can be the problem and how can I fix it?
I tried on Chrome, Opera and Yandex browsers. All of them acts the same.
Dont use the url=
Or download the file and put it in your folder. Then set the href to open or download your pdf. Would this be a sol?

html files on google chrome

So, I cannot open index.html files on google chrome. My file has defaulted on chrome. When I click on the files, it opens on google chrome. But, nothing loads on that page. I'd appreciate any help.
If you have VScode, I highly recommend download Live Server plugin. That will help you to work with your HTML files.

"google drive hosted web page editing is not working "

I host my web page using google drive.and i want to do some changes so i edit the html page in side the google drive using text editor and i save that file but i refresh the web page changes are not showing.but if i use another browser example internet explorer the changes are showing then i do another change and refresh the internet explorer changes are not showing. please help me.
I tried using one-drive also same issue in here also
====================================================
It sounds like your web browser has cached the webpage, meaning it's not going to Google Drive and is instead loading the page locally in order to save time.
In order to clear the cache, you can force refresh your browser by doing the following:
Windows Ctrl + F5
Linux F5
Mac Command + R

zip file link not download from IIS in internet explorer 8 but instead opens as gibberish

i have a .zip file sitting on an IIS 6 webserver.
i have an html file with a link to that zip file like this:
Download File
When you open the page and click the link in firefox or chrome, you get the Open or Save dialog box as expected.
When you do the same in Internet Explorer 8, you navigate to a new page that displays the "contents" of the zip file as text (unreadable characters). This happens on at least 3 machines that were tested.
Any idea why this would be happening in IE or what i need to do to fix it?
Changing IE settings is not an option since we do not control the settings of who goes to our site. Changing the HTML or javascript on the page with link is an option.
Thanks for the help!
You may need to set the MIME type of the file. To do so, go to IIS6 Manager for the website. Go to Properties for the site (right-click on the website name for Properties in the menu). Click the HTTP Headers tab. Click the MIME Types... button.
From there, you should be able to add .zip as an extension. I'm not entirely sure which MIME type will work best, but application/zip and application/x-zip are two options to try.