exam questions

Exam 70-480 All Questions

View all questions & answers for the 70-480 exam

Exam 70-480 topic 2 question 21 discussion

Actual exam question from Microsoft's 70-480
Question #: 21
Topic #: 2
[All 70-480 Questions]

You are developing an HTML5 page that includes several paragraph elements.
You have the following requirements:
✑ Add a drop shadow that is one inch below the text in the paragraph
✑ Set the radius of the drop shadow to five pixels
You need to style the paragraphs to meet the requirements.
Which CSS style should you use?

  • A. Text-shadow: 72pt 0pt 5pt
  • B. Text-shadow: 5px lin 0px;
  • C. Text-shadow: 72pt 0em 5px;
  • D. Text-shadow: 100px 0px 5px;
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
We set the second argument (vertical) to one inch (1in).

Note -

Syntax -
text-shadow: h-shadow v-shadow blur color;
Note: The text-shadow property attaches one or more shadows to text. The property is a comma-separated list of shadows, each specified by 2 or 3 length values and an optional color. Omitted lengths are 0.
* h-shadow
Required. The position of the horizontal shadow. Negative values are allowed
* v-shadow
Required. The position of the vertical shadow. Negative values are allowed
* blur

Optional. The blur distance -
* color
Optional. The color of the shadow.

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
KyryIx
Highly Voted 5 years, 4 months ago
text-shadow: h-shadow v-shadow blur-radius color; text-shadow: 0px 1in 5px; Correct? https://www.w3schools.com/cssref/css3_pr_text-shadow.asp
upvoted 7 times
trick112
5 years, 2 months ago
or text-shadow: 0px 72pt 5px; could be valid.
upvoted 3 times
...
...
aziti
Most Recent 4 years, 7 months ago
I would go with c as it is the closest to the correct answer text-shadow: 0 72pt 5px;
upvoted 1 times
...
JoelChuca
4 years, 9 months ago
I saw similar question and Someone made a test in http://jsfiddle.net/4v4yu/10/ and according that, B is correct.
upvoted 1 times
rvries
4 years, 5 months ago
The jsfiddle is wrong, there is a . in front of the 1 inch, which negates the style.
upvoted 1 times
...
...
ruif90
4 years, 10 months ago
Is the answer correct? I would go for A
upvoted 2 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 ...