Ramit wants to place the logo of his school on the top left corner of the web page. Which property can he use to do so?
I will mark the best answer brainliest
Answers
Answered by
8
Ramit should use background-position: left top; property.
Explanation:
- Styling the elements of webpages is the work of CSS and background-element is one in it.
- It is used within <style></style> tags.
- The position left top indicates the position in which the image needs to be placed as per this question. left center , left bottom , right top , right center , right bottom , center top , center center , center bottom are some other positions. or, we can just use %x %y to place the positions more accurately.
- However, we can simple use
<img src="logo.png" style:"top:8px; left:10px, width:6%; position:absolute">
Learn more:
1. Create an html page with 7 separate lines in different colors.
https://brainly.in/question/35010731
2. Write HTML co-de to generate the following table
brainly.in/question/14751808
Similar questions