In an html page, with text "Welcome to Deccansoft" in the body, which value of the background-origin property will you use so that the background image starts from the word "Welcome"?

Back to Questions
A)

background-origin: border-box;

B)

background-origin: content-box;

C)

background-origin: "Welcome";

D)

background-origin: padding-box;

E)

background-origin: 1;

 

Author Explanation :

(Correct option)<br/>
content-box : The background image starts from the upper left corner of the content<br/>
<br/>
(Other options)<br/>
padding-box : Default value. The background image starts from the upper left corner of the padding edge	<br/>
border-box : The background image starts from the upper left corner of the border<br/>
background-origin: "Welcome"; and background-origin: 1; are not valid CSS code.

Answers Posted

PostedBy By: jayaprathap, at 12:57 PM on 04-April-2019

Answer Posted: B

Explanation: image starts from upper left of the corner

Result: Correct

PostedBy By: Jigar Shah, at 08:56 AM on 04-April-2019

Answer Posted: B

Explanation: As html page having only content

Result: Correct

PostedBy By: Sagar , at 07:40 AM on 04-April-2019

Answer Posted: B

Explanation: The background-origin property specifies the origin position (the background positioning area) of a background image

Result: Correct

Back to Questions

© Copyright 1997 - 2019 | www.bestdotnettraining.com | www.deccansoft.com | All Rights Reserved.
 
Bestdotnet google plus
Enquiry Now