Help me please, I don't really know what this Src attribute is

please what’s the meaning of “Src attribute” :*

** cat-relaxing-on-couch-260nw-155984762.jpg**



<h2>CatPhotoApp</h2>
<main>

<img src="https://image.shutterstock.com/image-photo/cat-relaxing-on-couch-260nw-155984762.jpg" alt=" cat-relaxing-on-couch-260nw-155984762.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 8.1.0; iris51) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.105 Mobile Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Hi @Humblesammy Welcome to the forum

You were asked to use the https://bit.ly/fcc-relaxing-cat URL but you use a different one and the what is that in the alt attribute you were asked give a alternate to the image means if the image fails to load the text will be displayed.

See this: HTML img tag

Hi @Humblesammy

The src attribute is one of the attributes of the img tag. Its value is the URL of the image if it is hosted elsewhere or else the path to the image.

“src” is short for “source”. It tells the browser where to find the image file.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.