HTML Introduction to HTML and CSS Adding a New Web Page Set up an HTML Document

Michelle Meldrum
Michelle Meldrum
Front End Web Development Techdegree Student 348 Points

when I add the /Resume.html to the URL, I get a message that states -

when I add the /Resume.html to the URL, I get a message that states -

Not Found

The requested URL /Resume.html was not found on this server.

Ceil-Ian Maralit
Ceil-Ian Maralit
Front End Web Development Techdegree Graduate 19,288 Points

Hi! Did you get the answer to your question yet? If not, do you mind taking a snippet of what you did and post it here? So I can take a look at what’s wrong.

3 Answers

Neda Ionut
Neda Ionut
913 Points

Hi, you should add the path: /resume.html, instead of /Resume.html. It seems that the browser only works with small letters, anyway. So, on your files also, you should use small letters only, in order for it to be properly "read" by the broser.

Daniel Hall
PRO
Daniel Hall
Pro Student 876 Points

It seems that the browser only works with small letters, anyway.

You're right about capitalization being the problem here but it's not accurate to describe the browser as only working with small letters. In this case, it needs to match the capitalization of your HTML file.

All web browsers can recognize capital letters but whether or not a URL is case sensitive depends on the server, as is explained here. In this case, the URL very much is case sensitive!

If you named your HTML file "Resume.html", then your URL must have: ".../Resume.html"

If you named your HTML file "resume.html", then your URL must have: ".../resume.html"

I tested it and BOTH ways work (proving that web browsers can accept capital letters in the URL). You can use either all lower case or have capital letters but the URL needs the same capitalization as the HTML file in your workspace.

Case USUALLY doesn't matter in URLs (which is why so many people had the same issue) but, in this scenario, the resume path is case sensitive. This crucial detail wasn't mentioned in the video - it does show a lower-case letter being used but it doesn't actually warn us against using a capital letter here in the name or make us aware that we must then match the capitalization of the URL in the web browser).

Basically, everyone who chose "Resume.html" as their file name (probably a very large percentage of people!) would have got a 404 error as it would never occur to them to also use a capital letter in the web browser at the next step. Michelle's problem was the opposite way around: her HTML file was called "resume.html" but she was typing "Resume.html" in her browser.

In my opinion, everyone should just stick to lower-case letters for file names in their workspaces so that incorrect capitalization is never an issue - and always type URLs in all lower case unless you have a reason to do otherwise!