Add a Photo of Asmara
HTML / CSS
10 pts
Add a Photo of Asmara
Add a photo under the paragraph. The photo file is called asmara.jpg and is in a folder called images.
- Add an
<img>whosesrcisimages/asmara.jpg. - Give it
alttext that describes the photo. - Give it a
widthand aheight(for example 600 and 400).
The file is not in the lab, so the preview shows the alt text. That is fine: the checks test your markup.
Checklist
- Add the image from the
imagesfolder. - Describe the photo with alt text.
- Set the image width and height.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
