Picture doesn't show (broken picture icon)

  • HTML

You may see

Failed to load resource: net::ERR_FILE_NOT_FOUND
Failed to load resource: the server responded with a status of 404

Why it happens

  • The name or ending is different: .jpg, .jpeg, .png, capitals.
  • The picture is in another folder.

How to fix it

  1. Put the picture in the same folder as the page.
  2. Copy the full name with its ending: <img src="cat.jpg" alt="A cat">.
  3. Use no spaces in the name.
  4. Capitals count on the internet.

It worked if: The picture shows.

From how the part works. Chrome's usual console wording.

Didn't help? Search another error or ask us.