exam questions

Exam 98-383 All Questions

View all questions & answers for the 98-383 exam

Exam 98-383 topic 1 question 17 discussion

Actual exam question from Microsoft's 98-383
Question #: 17
Topic #: 1
[All 98-383 Questions]

Analyze the following CSS for a webpage:

What is the resulting background color of the paragraph element?

  • A. Pink
  • B. Blue
  • C. Yellow
  • D. Green
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
References: https://www.w3schools.com/tags/tag_div.asp

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
dqsdq
Highly Voted 3 years, 3 months ago
yep green just tested it
upvoted 13 times
...
tgd
Highly Voted 4 years, 2 months ago
D (Green), surely? (And definitely NOT A (Pink)). That is the text 'this is sample text' will appear with a GREEN background (but it is more specifically targeted by the css selector?
upvoted 10 times
...
turkeylegs
Most Recent 8 months, 2 weeks ago
Selected Answer: D
green is it not ?????????????????????????????????????????????????????????????????????????????????????????????????????????????? Tested it out myself thanks.
upvoted 1 times
...
royp22
1 year, 7 months ago
Correct answer is d green.
upvoted 1 times
...
NikoBoyd
1 year, 9 months ago
Answer is "D) Green" not "A) Pink"
upvoted 1 times
...
Gabogab
2 years, 3 months ago
It would have been pink if the inline style was set on p instead of div. The trick is to realize that the inline style does in fact override previous style, but here only for for div itself - its child elements still keep their previous style.
upvoted 2 times
...
mukush
2 years, 5 months ago
D (Green) - paragraph is inside div
upvoted 3 times
...
Moon22
2 years, 6 months ago
Yes it's Green. Tested code.
upvoted 5 times
...
Nov7
2 years, 8 months ago
D) 100% Green
upvoted 5 times
...
cbstineman
2 years, 11 months ago
green most def cuz it is nearest the <p> element
upvoted 4 times
...
Sasi7
3 years ago
Internal .light p style has more specificity than inline parent div p style. Hence, the correct answer is GREEN.
upvoted 6 times
...
ARAVINDRAVIEXAM
3 years ago
Green is the right one
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago