Understanding alt, src and how to add images to website

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>

<image src="https://cat-photo-app.com/relaxing-cat.jpg"> rtryalt=" A business cat wearing necktie.">
https://cdn.freecodecamp.orgcurriculum/cat-photo-app/relaxing-cat.jpg
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-S767VL) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/14.2 Chrome/87.0.4280.141 Mobile Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.


You have multiple syntax errors. Is there a part of the example that we can explain?

<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie.">

html does have some wonky old tags, and img is one of those. Html has evolved from the early days, html5 being a great example, and like most things, the standards body tried to improve and clarify, but we are just stuck with the need to know that when you want to reference an image, the tag name is img.

notice the tag is:

<img ...>

not

<image ...>

You can keep asking questions here.