Learn HTML by Building a Cat Photo App - Step 7

Tell us what’s happening:
How can I add imp elements?
Where can I find img elements?

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p>
    <imgsrc="img_girl.jpg" alt="Girl in a jacket" width="500" height="600" >
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 7

Link to the challenge:

You just want to add an empty <img> element. Do no add any attributes to it yet. You will do that in the next steps.

Your Code is incorrect. check the code
Correct Code Format is
<img src="Image URL" />

Happy Coding :smiling_face_with_three_hearts: :grinning:

Thank you for answering me.

1 Like