diffsnack
HTML Guess the result Level 7

HTML exercise: Figures, picture and media — A modern browser loads this page. Where does "Tuner loading..." appear?

The exercise

A modern browser loads this page. Where does "Tuner loading..." appear?

1<iframe
2 src="https://example.com/tuner"
3 title="Online guitar tuner"
4 width="320" height="200">
5 <p>Tuner loading...</p>
6</iframe>
  1. Inside the frame while it loads
  2. Nowhere — modern browsers ignore it
  3. Directly below the frame
  4. As a tooltip when you hover

Solution

Answer: Nowhere — modern browsers ignore it

Modern browsers do not show text placed between <iframe> and </iframe>, not even while the frame is loading. The HTML parser treats everything inside <iframe> as raw text rather than visible HTML.

Play this exercise Learn the concept: Figures, picture and media