<head> <meta charset ="UTF-8"> <title>Rothko Painting</title> </head> <body> <img src ="https://cdn.freecodecamp.org/curriculum/css-box-model/diagr

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

  **Your code so far**
<!DOCTYPE html>
<html lang="en">
<head> 
  <meta charset ="UTF-8">
  <title>Rothko Painting</title>
</head>
<body>
  <img src="https://cdn.freecodecamp.org/curriculum/css-box-model/diagram-1.png." alt="Image">
</body>
</html>
  **Your browser information:**

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

Challenge: Step 2

Link to the challenge:

Double check your link, you have some extra punctuation in there that isn’t required.

The alt attribute specifies an alternate text for an image, if the image cannot be displayed.
So if your image cannot be displayed the alt you add to the img tag alt="Image" will work

STEP 2: they ask you to add meta tag charset and title tag to the head and add an image to the body, the alt attribute isn’t required in this step

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