Computer Science, asked by NuclearMaze, 1 month ago

Abhishek wants to place the logo of his school on the top left corner of the web page. How can he do so?

Answers

Answered by anuradhadevi2021
1

Set the element’s position to fixed or absolute. and position it to the top-left corner.

HTML:

<div id="logo">

<img src="http://via.placeholder.com/150x150">

</div>

CSS:

#logo{

position:fixed;

top:0;

left:0;

}

Note: this will place your logo to the extreme top-left corner of your webpage which i don’t think is what you actually want.

hope that helps..

mark as brainliest

Similar questions