Question from the HTML5/CSS3 test

Given the following HTML code, what is the order of the images in the DOM?

Archived

Which images will be displayed by a modern browser (Internet Explorer 9+, Chrome stable, Firefox stable, Safari 5+) ?

<div class="container">
    <img src="image1.bmp" alt="">
 
    <p style="position: absolute; left: -1000em">
        <img src="image2.jpg" alt="">
    </p>
 
    <p style="visibility: hidden;">
        <img src="image3.jpg" alt="">
    </p>
    
    <p style="display: none;">
        <img src="image4.jpg" alt="">
    </p>
 
    <img src="404.html" onerror="this.src = 'image5.jpg'" alt="">
</div>
Author: Jean-marie CléryStatus: Archived(New question!)Question passed 1101 times
-3
Community EvaluationsNo one has reviewed this question yet, be the first!