Unable to see my images on web hosted by Github - html

I'm facing a problem that my images (local saved images) in html file are not visible when I host my html file using Github.
I hosted many times using different methods but unable to fix it..

Related

How can I access the URLs of the all the HTML files I have uploaded to my website on 000webhost

Summary:
I am a beginner to HTML and need to work out the URLs (or how to make them) of files I have added to 000webhost. I have been given the URL of my index file, and can access it easily, but the links I have placed in it do not work, as I cannot find/don't have the URL of the links (though I do have the code). Is there a way of finding/making a URL for each of the files I have added to my 000webhost project?
So I'm a beginner to HTML and after making a basic website (including links to other pages I have created)I have decided to try and upload it to the internet. I watched a couple YouTube videos on how I should do so and ended up using htmlsave.net . I copy and pasted my code in, changing all my links from places om my desktop to the URLs provided by the website, and everything worked. However, since I had not paid money for a membership I quickly reached my limit on how many pages I could reach. Because of this, I decided to use another(free) web host that would not limit me on how many web pages I could add to a website.
After some research I settled on 000webhost. Everything started off smoothly, I created the project, added my files and got my index file up and running. However, from my index page (which I could now access on the internet), I could not use the links inside it, as they were still still linked to locations on my computer.
Therefore, I opened the code to edit it, but then quickly realized I did not know the new URL of all the files(excluding the index file (named index.html) which 000webhost had provided me as stated earlier) I had added to my 000webhost project.
So after looking around on google and stack overflow I have not been able to find a solution on how to find out the new URL given to the files I have added to 000webhost.
(Apologies for any incorrect use of terminology, as stated I am extremely new to HTML)

Google Sites HTML export keeps redirecting to live site

I was trying to export a Google Site I made for a project. I used wget to spider through every page and to download the html files and linked content. When I try to open "index.html" in Chrome, it does open the local HTML file, but it redirects me to the live version immediately after.
Is there anyway I could modify the HTML code so that it won't head straight to the actual website? I just want to have a local copy of it for reference, and I don't want to store it on Drive.
As the HTML file is too big to type out, I have provided it on Pastebin here.
.
You need a better question. No website works offline, or they do if you download all the files to your user’s computer so the user can view it offline. But at some point they had to visit it online to get it.
Or you save it as an html site and hand it to them on a USB drive. That’s offline to that extent. But then it’s not really a website, its an html file.
Or otherwise, if you need a website for your school which can be used by anyone through internet / intranet, you have two options -
1. Create and host a website in an online server
. a. You have to buy space and deploy a server yourself.
. b. They will a run website in their webserver for you. You just need to give money
2. Deploy a webserver in the school's any one machine and get it in other machines.
Rephrase the question for a better answer.

Uploading HTML/CSS Files in bulk to squarespace

Hi Stack Overflow community,
I'm a bit of a noob here (please be gentle) and wanted to ask how to upload HTML/CSS + Packages in bulk to my site.
I'm familiar with the code injection/CSS editor within Squarespace, but something doesn't seem to be working.
To summarize, I received a bunch of files and was requested to upload them to the website I manage. These files contain:
HTML (by page)
CSS (by page)
image files
index.html
Scripts file (which include .js & .php
sitemap.xml
That being said, I know there is a lot of referencing between these files and wanted to know the best route in incorporating these into my site?
Thanks so much!
A quick way to upload multiple files is to use the (S)FTP protocol. You can use an FTP client such as FileZilla to upload files in bulk to your server.
However, I'm not quite sure if that's possible in your use case. Are you using Squarespace for your project? If so, it looks like you can use either Git or SFTP for file uploads. You'll need to have developer mode enabled for that, though.
I found this article that goes into uploading multiple files to Squarespace via their own upload system, does that help?

How to load a Single Page Application from a file?

I'm trying to build a single page application that can be viewed offline, and that can be packaged (preferably as an HTML page), and emailed out. It needs to be able to load from the file I email out, but not hit a server at all on load time. It can load JS libraries from their servers, but the page itself will not be hosted anywhere.
This seems like a simple problem, but I'm having trouble exporting my current spa site into a static format that can be emailed.
Currently the site is built in ASP.NET MVC 4 as a WebAppSPA. The application is a bunch of graphs built from data in a JSON file.
Thanks in advance for the help!

How do I create a link to a saved html page on my computer?

I'm working on a web application that caches html pages and saves it on the user's computer. I want to create a link, so that the user can click on the link and access the cached webpage.
Following is my link to a cached page:
BBC
When I click on the link, nothing happens. I'm not even getting any error.
Can someone please suggest how to create a link to a cached html page?
First of all, not all browsers handle local files equally, indeed, not all computers will be running windows or have a C: drive. Secondly, you don't have much control over a user's cache. Cached pages are usually handled by the browser automatically. You can use headers to specify how a browser ought to cache files, but it's not even required to do so. You can read the W3C recs on caching for more information.
It's unclear what you're trying to do here, but it sounds like it might make more sense for you to use HTML5 local storage or offline files than trying to mess around with their file system directly. The security model of most browsers is such that web apps don't interact with local files, which may be why it's not working for you with your current setup. Dive Into HTML5 has a good overview of HTML5 local storage and offline pages.
Edited based on comment below:
Most browsers' security settings won't let a page on a website access files stored locally. Only locally saved files can link to other locally saved files. Therefore, if the page with a link is on a website, your link won't work. Try creating a link to your file from another locally stored file and see if that works.
Instead of providing the .html extension in the main page where you provide the link you should do something as below:
< href="file:///C:/Users/xxx/yyy/bbc">BBC</a>