When the CSS styles are applied.

You develop an HTML5 webpage. You have the following HTML markup: (Line numbers are for reference only.)

The webpage also contains the following CSS markup:

You need to determine how the webpage will appear when the CSS styles are applied.
Select two.
A. The first row of the table will have a red background.
B. The second row of the table will have a red background.
C. The second cell in the first row of the table will have a blue background.
D. The second cell in the third row of the table will have a blue background.
E. The second cell in the third row of the table will have not have blue background.

microsoft-exams

2 thoughts on “When the CSS styles are applied.

  1. The correct answer is: A and D

    Given the exact CSS, the table will have three blue colored middle cells of the second, third and forth row (which are all rows with td-cells). I tried it with jsfiddle.net.

    The image in the answer is wrong and therefore “E” is wrong; there is a blue colored cell in the third row and so it’s D.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.