Computer Science, asked by rubikonwar800, 3 months ago


Ishika wants to create a simple Web page about her school .She wants to set the image of her school as the background.

i)Name the property and its value she should use so that the image appears at the center of the page.        

ii)Which property should she use so that the image appears only once on the Web Page? What value should be assigned to that property?                                                                                                                                            

 



Answers

Answered by siddharthgager30
7

Answer:

. . .

<body>

<!--First section-->

<div style="background-image: url('Image_Location');

background-size: cover; height:480px; padding-top:80px;">

</div>

</body>

...

. . .

<body>

<!--First section-->

<div style="background-color: #f4bc01; height:480px; padding-top:80px;">

</div>

</body>

...

try this but this is only HTML

Similar questions