How can i add alt to an img src?

i have been trying to get through this very challenge. someone should plese help me out, thanks


What have you tried so far? What does your code look like? We need a little more information to be able to help you. :slight_smile:

1 Like

I`m at introduction to HTML5. I’m a beginner though

under web design…

this is where i’m stuck. whenever i submit my test, i get reminded that my alt shouldn’t be blank…please help me out


This should not be in quotes. :slight_smile:

i just tried this and this is the response i get…
Your image element’s


attribute should not be empty.

You’re also using too many quotes, it looks like. Are you using two single quotes instead of one double quote?

Here’s the basic syntax for an HTML element.
<element attribute1="value" attribute2="value1 value2">Text</element>

thanks. i just tried this and it worked. I’m so grateful for your help :pray:


Glad you were able to get it! :smiley:

…yeah sure :dancer:

Please, for next time, if you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like