Which code segment should you use?

The RunLog/Views/InsertLog.cshtml view must display the /Images/stopwatch.png image and the “Insert Run Data” header text below the image.

The view should resemble the exhibit. (Click the Exhibit button.)

The application must display the image above the field set.

You need to add the HTML code to /Runlog/Views/InsertLog.cshtml to display the image and header text.

Which code segment should you use?

A . Option A
B . Option B
C . Option C
D . Option D

Answer: D

Explanation:

<div style="background-image: url(../images/test-background.gif); height: 200px; width: 400px; border: 1px solid black;">Example of a DIV element with a background image:</div>

<div style="background-image: url(../images/test-background.gif); height: 200px; width: 400px; border: 1px solid black;"> </div>

Reference: DIV BACKGROUND-IMAGE in the STYLE element

http://www.w3.org/WAI/UA/TS/html401/cp0301/0301-CSS-DIV-BACKGROUND-IMAGE.html

Latest 70-486 Dumps Valid Version with 255 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments