select Yes if the code segments above causes the page to behave as described.

HOTSPOT
You are reviewing the CSS markup for an HTML5 page that displays a news article. The CSS markup
for the page is as follows:

The HTML markup for the page is as follows:

For each statement in the table, select Yes if the code segments above causes the page to behave as
described. Select No if it does not. Make only one selection in each column.

HOTSPOT
You are reviewing the CSS markup for an HTML5 page that displays a news article. The CSS markup
for the page is as follows:

The HTML markup for the page is as follows:

For each statement in the table, select Yes if the code segments above causes the page to behave as
described. Select No if it does not. Make only one selection in each column.

Answer:



Leave a Reply 7

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


Erick

Erick

But Impact on Markets isnĀ“t italiced in your code, D: so, all the answer are NO!

debbie

debbie

Impact on markets is italicized.
Answer is correct:
no, no, no, yes

Dyna

Dyna

No bra the answer is
No
No
No
Yes

Remember HTML reads line by line so there is no style that replaces Italics in the css although yellow is replaced by sienna.

Helpful_Coder

Helpful_Coder

Impact on Markets takes the Sienna color from the article css

get_it

get_it

Order of styles in style sheet is why the article h4 style is applied to the Impact Markets text and the aside h4 is not.

anii

anii

Answers are correct.

Notes:
1. article h4 in the end would change the font-style of Impact On Markets from italic to normal. But because we put !important next to italic, it stays italicized.
2. class and id are more important than the element tags because New Developments stays red until the end. If we consider just the order it should be in sienna but it’s not.
3. article {color:black; font-style:normal;} does nothing. I’m guessing because we don’t actually have text in article. If we want to change what we do have, we need to write h4 also. (I’m not really sure why is that).

https://jsfiddle.net/epvLjbq1/
Try it yourself: put styles one by one in the code & see what changes after each one.