I wish for feedback on my attempt at Test your skills: HTML images .
Any requirements I missed?
Anything I could have done better?
Task 1 code:
CSS
img {
border: 1px solid black;
}
HTML
<h1>Basic image embed</h1>
<img src="images/blueberries.jpg" alt="image filled with blueberries" width="615" height="419" />
Task 2 code:
CSS
img {
border: 1px solid black;
max-width: 100%;
}
HTML
<h1>Basic image title</h1>
<img src="larch.jpg"
alt="Several tall evergreen trees called larches"
title="Several "larches"" />
Task 3 code:
CSS
/* n/a */
HTML
<h1>Image and caption</h1>
<figure>
<img src="firefox.png"
alt="An abstract flaming fox wrapping around a blue sphere"
width="446" height="460" />
<figcaption>
The Firefox logo, newly abstracted for 2019!
</figcaption>
</figure>
Sincerely, thanks in advance for taking the time to give me feedback.
Receiving confirmation and suggestion from another’s opinion helps more objectively gauge my performance.