HTML HTML Basics Images, Text and Links Adding Images to the Page

Chloe Evans-Cross
Chloe Evans-Cross
2,271 Points

So my code is below, the image is not displaying? What am I doing wrong?

<!DOCTYPE html> <html> <head> <title> Experience VR</title> </head>

<body> <div>

<header>

  <h1>Experience VR </h1>
 <img src="img/featured.jpg">
    <p> A simple blog about virtual reality experiences </p>
      <nav>
      <ul>   
        <li> <a href="#">Home </a></li>
        <li><a href="#">About </a></li>
        <li><a href="#">Articles </a> </li>
        <li> <a href="#">Contact </a></li>
       </ul>   
       </nav>

</header>
  <div>

2 Answers

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 51,836 Points

Is featured.jpg in a folder named img? In the video's workspace the images are initially in the same folder as index.html.

Steven Parker
Steven Parker
177,587 Points

It might have to do with the file organization or naming. To allow us to replicate the issue, make a snapshot of your workspace and post the link to it here.