HTML exercise: Images: alt, width and height — What can happen while this image loads?
The exercise
What can happen while this image loads?
1<a href="nemesis.html">
2 <img src="nemesis.jpeg"
3 alt="Nemesis album cover"
4 loading="lazy">
5 <h3>Nemesis</h3>
6 <p>Band A</p>
7</a>
Solution
Answer: The text below can jump down
This <img> has no width and height, so the browser does not know how much space to keep for it. When the image arrives, the content below can suddenly jump down.