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
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
English,
1 month ago
Hindi,
1 month ago
Computer Science,
3 months ago
Geography,
9 months ago
Chemistry,
9 months ago