Which code segment should you use?

Posted by: Pdfprep Category: 70-486 Tags: , ,

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

Leave a Reply

Your email address will not be published.